[cfe-commits] r83907 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/Sema.h lib/Sema/SemaExpr.cpp lib/Sema/SemaStmt.cpp test/SemaCXX/warn-assignment-condition.cpp
John McCall
rjmccall at apple.com
Mon Oct 12 15:27:01 PDT 2009
Douglas Gregor wrote:
> We don't want to be one character after the end; we want to be after
> the last character in the token that end points to . Use
> PP.getLocForEndOfToken(E->getSourceRange().getEnd()) instead, as we do
> in Parser::SuggestParentheses.
Aha. Fixed in r83910.
John.
More information about the cfe-commits
mailing list