[cfe-dev] Patch to check unimplemented method declared in objc class extensions

Chris Lattner clattner at apple.com
Sat Feb 28 16:57:13 PST 2009


nice!  Applied:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090223/013255.html

On Feb 28, 2009, at 12:14 PM, Jean-Daniel Dupas wrote:

> This patch uses the new ObjCImplDecl class to merge   
> Sema::ImplMethodsVsClassMethods and  
> Sema::ImplCategoryMethodsVsIntfMethods methods.
> And now, when clang check a class implementation to find  
> unimplemented methods, it also checks all methods from the class  
> extensions (unnamed categories).
>
> There is also a test case to check this warning.
>
> This patch contains also a minor update for ObjCImplDecl .  
> getNameAsCString and getNameAsString now returns an empty string  
> instead of crashing for unnamed categories.
>
> <warn-objc-ext.patch>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list