[cfe-commits] r61656 - /cfe/trunk/lib/Parse/ParseTemplate.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Sun Jan 4 16:06:05 PST 2009


Chris Lattner wrote:
> Author: lattner
> Date: Sun Jan  4 17:51:17 2009
> New Revision: 61656
>
> URL: http://llvm.org/viewvc/llvm-project?rev=61656&view=rev
> Log:
> Simplify some control flow and remove a call to TryAnnotateCXXScopeToken
> that isn't doing what is desired. It was annotating the current token
> not the 'next' token.  This code should be fixed.
>   
Heh! Spring cleaning? :-)

Anyway, does this fix the problem just reported on cfe-dev? That is,
does this code still assert?

int a;
int f() {
  return ::a;
}

Sebastian



More information about the cfe-commits mailing list