]> granicus.if.org Git - clang/commit
The lock operand to an @synchronized statement is also
authorJohn McCall <rjmccall@apple.com>
Wed, 27 Jul 2011 21:50:02 +0000 (21:50 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 27 Jul 2011 21:50:02 +0000 (21:50 +0000)
commit07524039dce5c820f111a1b3f772b4261f004b4a
treea796032fe9a98b7216910a08f50a405fa2ec9847
parenta2ee20aa9660851080135219cac5b31fbac08b78
The lock operand to an @synchronized statement is also
supposed to be a full-expression;  make it so.  In ARC, make sure
we retain the lock for the entire protected block.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136271 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/CodeGen/CGObjCRuntime.cpp
lib/Parse/ParseObjc.cpp
lib/Sema/SemaStmt.cpp
lib/Sema/TreeTransform.h
test/CodeGenObjC/arc.m