]> granicus.if.org Git - clang/commit
[arcmt] Follow-up for r171484; make sure when adding brackets enclosing case statements,
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 8 Jan 2013 00:58:25 +0000 (00:58 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 8 Jan 2013 00:58:25 +0000 (00:58 +0000)
commit4ce831cba3ae3030674fd9d90f8a69f7b3938d63
tree8cd1cf71aef13be9cbd42a34dfd1a79f8cb814dd
parentaa46d513f47280a9786e8e9aa77f7089b3f8fee6
[arcmt] Follow-up for r171484; make sure when adding brackets enclosing case statements,
that the case does not "contain" a declaration that is referenced "outside" of it,
otherwise we will emit un-compilable code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171828 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ARCMigrate/TransProtectedScope.cpp
test/ARCMT/checking.m
test/ARCMT/protected-scope.m
test/ARCMT/protected-scope.m.result