[PATCH] Add clang-tidy -header-filter option

Manuel Klimek klimek at google.com
Sun May 4 11:59:20 PDT 2014


================
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






More information about the cfe-commits mailing list