vsapsai added a comment.

Sorry about the delay. The change seems to be correct but `ninja check-clang` 
reveals the test "Misc/caret-diags-macros.c" is failing. Can you please look 
into that?

Appreciate your contribution, Xing, and thanks for verifying your change with 
tests.



================
Comment at: lib/Sema/SemaExpr.cpp:7107-7108
+  SourceManager &SM = Self.getSourceManager();
+  SourceLocation spellLoc = SM.getSpellingLoc(ParenRange.getEnd());
+  unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SM, 
Self.getLangOpts());
+  SourceLocation EndLoc = spellLoc.getLocWithOffset(tokLen);
----------------
Can you please start variables with an upper case letter? Like `SpellLoc`, 
`TokLen`.


https://reviews.llvm.org/D47687



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to