How to pass compilation options to clang-tidy in VScode #9748
Unanswered
fonsecapaulo
asked this question in
Q&A
Replies: 1 comment
-
By default, it should pick up the std value from the IntelliSense configuration, e.g. the cppStandard in c_cpp_properties.json or the equivalent value via other configuration methods. Is that sufficient? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
What is the proper way to pass compilation options to clang-tidy in Vscode using the native C++ extension?
I am specially interested in -std=c++17
I tried :
but none of them seem to work.
I would like this to be picked up when i trigger clang-tidy with: Run Code Analysis on active file
Beta Was this translation helpful? Give feedback.
All reactions