[cfe-commits] Patch to save category name loc in ObjCCategoryImplDecl

Jason Haslam jason.haslam at gmail.com
Thu Dec 8 11:14:48 PST 2011


Hmm… okay. I guess that the only justification that I have is that we use it in our IDE to point to the location of the category implementation (e.g. when the user right clicks on the category name in the interface declaration and selects 'Edit Implementation'). There's no other use in clang itself.

Jason


On Dec 8, 2011, at 11:33 AM, jahanian wrote:

> We don't want to increase size of AST nodes unless there is justification for it.
> Please provide the completed patch showing what it is used for.
> 
> - Fariborz
> 
> On Dec 8, 2011, at 9:34 AM, Jason Haslam wrote:
> 
>> This small patch saves the SourceLocation of the category name in ObjCCategoryImplDecl.
>> 
>> Jason
>> 
>> <category_impl_name_loc.diff>_______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> 





More information about the cfe-commits mailing list