[cfe-commits] r137634 - in /cfe/trunk: test/Index/annotate-tokens.m test/Index/get-cursor.m tools/libclang/CIndex.cpp

Argyrios Kyrtzidis kyrtzidis at apple.com
Mon Aug 15 15:44:26 PDT 2011


On Aug 15, 2011, at 11:53 AM, Douglas Gregor wrote:

> 
> On Aug 15, 2011, at 2:44 PM, Argyrios Kyrtzidis wrote:
> 
>> Author: akirtzidis
>> Date: Mon Aug 15 13:44:43 2011
>> New Revision: 137634
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=137634&view=rev
>> Log:
>> [libclang] Handle AttributedTypeLoc for cursor visitation. Fixes rdar://9535717.
>> 
>> Modified:
>>   cfe/trunk/test/Index/annotate-tokens.m
>>   cfe/trunk/test/Index/get-cursor.m
>>   cfe/trunk/tools/libclang/CIndex.cpp
> 
> Should we declare all of the Visit*TypeLoc methods in one shot clang/AST/TypeLocNodes.def, so this doesn't happen again?

See r137670.
I also added handling for decltype and injected-class-name.
SubstTemplateTypeParm[Pack] does not seem applicable for handling since it does not reflect actual source code.

-Argyrios



More information about the cfe-commits mailing list