[cfe-dev] Patch to check unimplemented method declared in objc class extensions
Jean-Daniel Dupas
devlists at shadowlab.org
Sat Feb 28 12:14:07 PST 2009
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warn-objc-ext.patch
Type: application/octet-stream
Size: 11087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090228/e6b5f367/attachment.obj>
-------------- next part --------------
More information about the cfe-dev
mailing list