[LLVMbugs] [Bug 19567] New: Consider warning on ObjC selectors that have an edit distance of 1 from selectors declared in protocols (or from any known selectors)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 25 15:12:19 PDT 2014


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

            Bug ID: 19567
           Summary: Consider warning on ObjC selectors that have an edit
                    distance of 1 from selectors declared in protocols (or
                    from any known selectors)
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

We had a bug where someone implemented

  myController:didFinish:WithError:

when they should have implemented

  myController:didFinish:withError:

(Note lower-case 'w' on 'withError:')


It'd be nice if clang could warn on this. To keep noise low, this should
probably only be done for selectors with more than 1 part.

-- 
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/20140425/762f6146/attachment.html>


More information about the llvm-bugs mailing list