Clang-Tidy results mismatch #9964
Replies: 2 comments 5 replies
-
You should only report a clang-tidy bug to https://github.com/llvm/llvm-project/issues if you have a repro using clang-tidy on the command line. Our extension does some different configuration and processing of the output on top of clang-tidy, so the difference might either be a bug with our handling or "by design" for some reason. If you set C_Cpp.loggingLevel to Debug, the "C/C++" logging will show the command line we end up running and the raw output, which we may filter using our exclude settings, etc. Can you provide more info on what the difference is? |
Beta Was this translation helpful? Give feedback.
-
I created a LLVM issue here: This is the console log from VSCode: I can't recognise the clang-tidy command in the output. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
On a file of mine I run the command:
clang-tidy -config-file=.clang-tidy '<path_to_file>/LaunchdPlist.cpp'
The output from this command is ver different than the Clang-Tidy warnings I see in the code editor.
Also a lot of these warnings are false positives.
How should I interpret that situation?
BTW. Should I report bugs to Clang-Tidy or should I just disable/ignore some of these warnings/checks?
Beta Was this translation helpful? Give feedback.
All reactions