[cfe-dev] Improving source type info for typeof nodes.
John McCall
rjmccall at apple.com
Wed Jan 13 12:04:02 PST 2010
On Jan 13, 2010, at 7:47 AM, Enea Zaffanella wrote:
> Hello.
>
> Please find attached a patch for improving the type source info available for TypeOfExprType and TypeOfType nodes.
>
> The augmented TypeOf(Expr)TypeLoc nodes provide info about:
> - the location of the typeof keyword;
> - the locations of the left&right parentheses (may be invalid);
> - the source range for the whole typeof construct;
> - source type info for the underlying type (for TypeOfType nodes).
>
> The patch passes all clang tests.
Looks great. Committed as r93344, thanks!
John.
More information about the cfe-dev
mailing list