[cfe-dev] clang-tidy thinks it is parsing C
Tiago Macarios via cfe-dev
cfe-dev at lists.llvm.org
Tue Oct 17 02:08:22 PDT 2017
I am trying to run clang-tidy directly from the command line:
clang-tidy <file> -- <compilation flags>
and it seems like clang-tidy thinks it is parsing C:
...
error: 'uuid' attribute is not supported in C
...
error: invalid argument '-std=c++1z' not allowed with 'C'
...
How can I tell clang-tidy that the code is C++?
Tiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20171017/18a1733c/attachment.html>
More information about the cfe-dev
mailing list