http://llvm.org/bugs/show_bug.cgi?id=17885
Bug ID: 17885
Summary: Spurious warning when class setter/getter have same
name as instance property
Product: clang
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 11519
--> http://llvm.org/bugs/attachment.cgi?id=11519&action=edit
example case
We have a few places where we have class methods to control a default value for
an instance property. The class methods store their value in a global. clang
now reports a warning that we didn't use the property's backing ivar, even
though the method is a class method.
See the attached test case which should not warn at all.
clang version 3.4 (trunk 194424)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs