[LLVMbugs] [Bug 12936] New: No warning for conflicting @property names (first letter differing in case)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 24 11:49:37 PDT 2012


             Bug #: 12936
           Summary: No warning for conflicting @property names (first
                    letter differing in case)
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: jediknil at belkadan.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Due to the way setter names are generated for Objective-C properties, two
properties that differ only in case in their first letter will share a setter.

@property id foo; // getter=foo, setter=setFoo:
@property id Foo; // getter=Foo, setter=setFoo:

We should produce a warning in this case. (And we should not produce a warning
if they have custom setters, of course.)

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list