================
Comment at: clang-tidy/ClangTidyDiagnosticConsumer.cpp:85
@@ -84,2 +84,3 @@
   // from non-user code.
-  if (Diags->getSourceManager().isInSystemHeader(Info.getLocation()))
+  if (Diags->hasSourceManager() && // Let argument parsing-related warnings
+                                   // through.
----------------
Please don't use end of line comments here, especially not multi-line ones.


http://llvm-reviews.chandlerc.com/D2676

BRANCH
  svn

ARCANIST PROJECT
  clang-tools-extra
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to