[clang-tools-extra] [clang-tidy] Refactor: removed typos in 'AllowedTypes' option in various checks (PR #122957)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 27 10:56:03 PST 2025


================
@@ -31,6 +31,6 @@ Options
    A semicolon-separated list of names of types allowed to be copied in each
    iteration. Regular expressions are accepted, e.g. `[Rr]ef(erence)?$` matches
    every type with suffix `Ref`, `ref`, `Reference` and `reference`. The default
----------------
EugeneZelenko wrote:

Single back-ticks are for option names and values. Double back-ticks for language constructs. Since `Ref`, `ref`, etc. refers to types, double-ticks should be used.

https://github.com/llvm/llvm-project/pull/122957


More information about the cfe-commits mailing list