I'm trying to get clang-tidy working to analyze my code. Currently, I have this command:
clang-tidy file.C -- -I/all/my/include/files -L/all/my/libs <any_other_args_i_need>
I'm assuming this works fine because I get this result:
End of search list.
12 warnings generated.
Suppressed 12 warnings (12 in non-user code).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Now, when I add any other argument (i.e. -checks=-*,clang-analyzer-*,-clang-analyzer-cplusplus*
), I get the error clang-tidy: No match
. This error pops up when I add any other -argument
in addition to my command above.
Does anyone know what this issue is?