]> granicus.if.org Git - clang/commit
objective-c: warn when autosynthesizing a property which has same
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 19 Jun 2012 22:51:22 +0000 (22:51 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 19 Jun 2012 22:51:22 +0000 (22:51 +0000)
commitdd3284b17829adfd542ecf4a7b4423dce1d7502b
tree9d89f395d1e98387dd39bc7477cb2ad3ff7b5e1c
parentfc685ace387734599c475426b1a8efdb491054b8
objective-c: warn when autosynthesizing a property which has same
name as an existing ivar since this is common source of error
when people remove @synthesize to take advantage of autosynthesis.
// rdar://11671080

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158756 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaObjCProperty.cpp
test/SemaObjC/default-synthesize-2.m