[LLVMbugs] [Bug 17930] New: Required protocol methods warn with -Wselector

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 14 11:57:53 PST 2013


            Bug ID: 17930
           Summary: Required protocol methods warn with -Wselector
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tommydebug at outlook.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11540
  --> http://llvm.org/bugs/attachment.cgi?id=11540&action=edit
Minimal repro

I've found that strict selector matching (-Wselector) behaves differently with
@required and @optional protocol methods. 

The minimal repro file shows this difference.

I would prefer -Wselector to not warn in either case. This affects my project
because I want the benefit of selector matching without triggering false
positive warnings when using required protocols.

related to http://llvm.org/bugs/show_bug.cgi?id=11960

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/20131114/49dd6358/attachment.html>

More information about the llvm-bugs mailing list