[cfe-dev] Clang Static Analyzer: Checking absence of method definition
Ted Kremenek
kremenek at apple.com
Mon Mar 7 19:20:17 PST 2011
Take a look at CheckObjCDealloc.cpp, which warns about incomplete -dealloc implementations. Diagnostics still need a source location, but they can refer to the location of the @interface or @implementation (for example).
On Mar 7, 2011, at 4:28 PM, Vu Le wrote:
> Hi all,
>
> I want to write a checker that checks whether a handler method,
> for example "didReceiveMemoryWarning", has been implemented.
>
>
> Based on what I read from the source code, most checkers find
> violations in a specific location. Is there a way to check
> the absence of implementing handler?
>
>
> Thanks.
> Vu Le
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110307/823428ed/attachment.html>
More information about the cfe-dev
mailing list