[cfe-dev] decl/expr ambiguity

Eli Friedman eli.friedman at gmail.com
Sun Aug 24 15:34:37 PDT 2008


On Sun, Aug 24, 2008 at 3:23 PM, Chris Lattner <clattner at apple.com> wrote:
> Is it possible to determine that something is "definitely a decl"
> after reading the "int*" in this case?
>
>   int *X = ...

Yes; once we've read "int*", we know it must be a decl.

-Eli



More information about the cfe-dev mailing list