[cfe-dev] Improving source type info for typeof nodes.
rjmccall at apple.com
Wed Jan 13 14:04:02 CST 2010
On Jan 13, 2010, at 7:47 AM, Enea Zaffanella wrote:
> 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!
More information about the cfe-dev