[cfe-commits] [Review request] Adding source location for the template keyword in AST template-id expressions.

Abramo Bagnara abramo.bagnara at gmail.com
Fri Jan 27 01:51:33 PST 2012


Il 09/01/2012 18:32, Enea Zaffanella ha scritto:
> Hello.
> 
> The current AST representations for expression nodes that possibly
> include a template-id (namely, DeclRefExpr and MemberExpr, their
> DependentScope variants and their Unresolved variants) store source
> location info for:
>  - the name qualifier (NestedNameSpecifierLoc);
>  - the name (DeclarationNameInfo);
>  - the explicit template arguments (ASTTemplateArgumentListInfo).
> 
> What was missing is the source location of the (often optional,
> sometimes mandatory) template keyword that may occur between the name
> qualifier and the name itself.

In r149127.



More information about the cfe-commits mailing list