[cfe-dev] Declaration name qualifiers.

Enea Zaffanella zaffanella at cs.unipr.it
Fri Mar 12 01:38:44 PST 2010


Enea Zaffanella wrote:
> Enea Zaffanella wrote:
>> Hello.
>>
>> In the C++ AST, name qualifications are stored using 
>> NestedNameSpecifier objects. These are currently used in some 
>> expression nodes (e.g., DeclRefExpr and MemberExpr), some declaration 
>> nodes (e.g., UsingDirectiveDecl and NamespaceAliasDecl) and some type 
>> nodes (e.g., QualifiedNameType and TypenameType).
>>
>> However, there are other AST nodes that can be qualified in the 
>> program sources but are not currently provided by a NestedNameSpecifier.
>> We would like to modify these AST nodes so that they can provide the 
>> required info to applications working at the program source level. 
> 
> Please find attached a patch implementing the proposal above.
> The patch is based on revision 98253 and passes all tests.

Sorry, I just realized that I attached the wrong file.
Here is the correct one.

Enea.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Qualifier.patch
Type: text/x-patch
Size: 84347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100312/c299e48f/attachment.bin>


More information about the cfe-dev mailing list