[cfe-commits] C++0x Attributes Patch - INCOMPLETE

Chris Lattner clattner at apple.com
Sun Sep 13 12:35:25 PDT 2009


On Sep 13, 2009, at 2:17 AM, Argyris Kyrtzidis wrote:

> +  if (After)
> +    *After = Tok.getKind();
> +
> +  return true;
> +}
>
> Why do we need to verify that ']]' follows '[[', isn't it enough for
> isCXX0XAttributeSpecifier to just return true if the current tokens
> are '[[' ?

In ObjC++ we have an ambiguity in an expression context, because we  
can have this ObjC code:

[[obj method] method]

-Chris



More information about the cfe-commits mailing list