[PATCH] D12379: Fix the bugs in the mapDiagnosticRanges (Still in progress)

Zhengkai Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 17 15:49:49 PDT 2015


zhengkai marked 2 inline comments as done.

================
Comment at: lib/Frontend/DiagnosticRenderer.cpp:455
@@ -419,1 +454,3 @@
 
+static bool checkLocForMacroArgExpansion(SourceLocation Loc,
+                                         const SourceManager &SM,
----------------
Because the function isMacroArgExpansion doesn't check if all locations are in the same argument location,


http://reviews.llvm.org/D12379





More information about the cfe-commits mailing list