notskm / vscode-clang-tidy

MIT License
48 stars 26 forks source link

.h files treated as C instead of C++ #80

Open hros opened 2 years ago

hros commented 2 years ago

I am working with a c++ project where the headers have a ".h" file extension clang-tidy recognizes these headers as c headers and gives errors on c++ commands (e.g., #include )

how can I set clang-tidy to recognize these headers as c++ headers?

Rullec commented 2 years ago

same problem