]> granicus.if.org Git - clang/commit
Tweak diagnostic text to indicate that __weak on a local variable is only allowed
authorTed Kremenek <kremenek@apple.com>
Tue, 2 Oct 2012 05:36:02 +0000 (05:36 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 2 Oct 2012 05:36:02 +0000 (05:36 +0000)
commit3ba17ee280d58bf702eb3836c119bab42dcbb9c8
treec6f32d211ed67995dd115804a344c9a8a0eba0b2
parentbe9af1288881110e406b87914162eaa59f1e5918
Tweak diagnostic text to indicate that __weak on a local variable is only allowed
for ARC.  Fixes <rdar://problem/12407705>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164990 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/SemaObjC/nonarc-weak.m [new file with mode: 0644]