================ Comment at: clang-tidy/ClangTidyDiagnosticConsumer.cpp:235 @@ +234,3 @@ + + FileID FID = Sources.getDecomposedExpansionLoc(Location).first; + if (FID == Sources.getMainFileID()) ---------------- Isn't usually the spelling location the problem? http://reviews.llvm.org/D3590