zhengkai marked an inline comment as done. ================ Comment at: lib/Frontend/DiagnosticRenderer.cpp:442 @@ -419,1 +441,3 @@ +static bool checkLocForMacroArgExpansion(SourceLocation Loc, + const SourceManager &SM, ---------------- I have stated that I need to check if all the locations checked fit in the same location in the expansionInfo. So I need the preLoc to store the previous checked location to see if they are the same.
================ Comment at: lib/Frontend/DiagnosticRenderer.cpp:454 @@ -422,1 +453,3 @@ + const SourceManager &SM, + SourceLocation Loc) { SourceLocation BegLoc = Range.getBegin(), EndLoc = Range.getEnd(); ---------------- See the comment ahead. http://reviews.llvm.org/D12379 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits