Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

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

Open
hros opened this issue Mar 20, 2022 · 1 comment
Open

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

hros opened this issue Mar 20, 2022 · 1 comment

Comments

@hros
Copy link

hros commented Mar 20, 2022

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
Copy link

Rullec commented Oct 15, 2022

same problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants