<div dir="ltr"><div>I am trying to run clang-tidy directly from the command line:</div><div>clang-tidy <file> -- <compilation flags></div><div><br></div><div>and it seems like clang-tidy thinks it is parsing C:</div><div>...</div><div>error: 'uuid' attribute is not supported in C<br></div><div>...</div>error: invalid argument '-std=c++1z' not allowed with 'C'<div>...<br><div><br></div><div>How can I tell clang-tidy that the code is C++?</div><div><br></div><div>Tiago</div></div></div>