I am trying with some clang extra tools such like clang-check, but I found it cannot handle .h file as expected, if the file is renamed as .hpp file, it will be OK, but I don't want to change the file extension. Is there any method to let the clang-check to treat .h header as c++ file?
with -extra-arg-before=-xc++ option can resolve my problem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With