Disable clang diagnostic errors from headers #9710
Replies: 3 comments 2 replies
-
Adding a setting like "C_Cpp.codeAnalysis.exclude": {
"**/utilities/include": true,
} should work. The |
Beta Was this translation helpful? Give feedback.
-
Is it possible to just have a on/off switch to exclude all system headers and/or third party headers, for example anything not in ${CMAKE_SORUCE_DIR}, without getting into complex regex, etc? I'm sorry if this sounds stupid. I'm ignorant of this area. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Can I disable clang-diagnostic errors from headers as seen on the screenshot. This might be actually a bug as my
#include "System.hpp"
doesn't include any of these files which are included in bellow.The system is macOS.
Another Issue that might be a bug (this header is obviously not main):
Beta Was this translation helpful? Give feedback.
All reactions