<div dir="ltr">[now with the right list address]<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 6:49 PM, Gonzalo BG <span dir="ltr"><<a href="mailto:gonzalobg88@gmail.com" target="_blank">gonzalobg88@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">I would just do what clang does here, which is rely on -I and -isystem, instead of on ""/<>. This information is available in the compilation data-base.</div>
</blockquote></div><br><br clear="all"><div><span style="font-size:12.8px">Anyways, clang-tidy doesn't implement any custom logic to detect system headers. It </span><a href="https://github.com/llvm-mirror/clang-tools-extra/blob/master/clang-tidy/ClangTidyDiagnosticConsumer.cpp#L367" target="_blank" style="font-size:12.8px">relies on what Clang thinks</a><span style="font-size:12.8px"> about the header. If you think it has miscategorized some headers, it almost certainly means that Clang treats the header in the same way (unless something is wrong with the compilation database).</span><br></div>
</div></div>