| Issue |
171792
|
| Summary |
[clang-tidy] Add support comments in config file for WarningsAsErrors
|
| Labels |
clang-tidy
|
| Assignees |
|
| Reporter |
fekir
|
This issue is related to #64343
I see that, for example
~~~~
Checks: [
-*,
,-abseil-string-find-str-contains # no abseil, use std::string::contains
]
~~~~
is supported, but
~~~~
WarningsAsErrors: [
-*,
,-abseil-string-find-str-contains # no abseil, use std::string::contains
]
~~~~
does not seem to be supported; I get errors similar to the following
~~~~
clang-tidy --verify-config
/home/user/.clang-tidy: error: unexpected scalar -* ^
Error parsing /home/user/.clang-tidy: Invalid argument
~~~~
It would be nice if `Checks` and `WarningsAsErrors` would support the same syntax, and in particular being able to put comments between entries, like it is in `Checks`.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs