[LLVMbugs] [Bug 16621] New: False negatives by -Wselector apart from false positives

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jul 13 13:05:02 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16621

            Bug ID: 16621
           Summary: False negatives by -Wselector apart from false
                    positives
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: trssnd at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

False negative: Happens when the method's implementation is compiled but sent
to the wrong object.
[obj performSelector:@selector(methodNotImplementedByObjButInThisFile)]

False positive: Happens when the method's implementation is not compiled yet
but sent to the right object.
[obj performSelector:@selector(methodOfObjButImplementedInAnotherFile)]

"When the method's implementation is compiled" is my own guess from the fact
that it happens when it is in the same file even if it is in a different class
within that file. This is confusing to me because the other file is imported
and yet that makes a difference which is why I'm not too sure about my guess.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130713/5524dc7e/attachment.html>


More information about the llvm-bugs mailing list