diff options
author | Steve Naroff <snaroff@apple.com> | 2009-02-02 17:19:26 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-02-02 17:19:26 +0000 |
commit | df8570d1ff98155b74df2a0544068f40b4fd5195 (patch) | |
tree | e9e3743d6b4eab9db51608f3a2f8f1c951f89daf /lib/Sema/SemaInit.cpp | |
parent | 839508150a7a595b6172217eeddc4d024fc201c5 (diff) |
RewriteObjC::RewriteBlockDeclRefExpr(): Add parens to enforce precedence. This fixes <rdar://problem/6529468> clang ObjC rewriter: Need parenthesis around dereferences in rewritten Blocks.
Also changed RewriteObjC::SynthesizeBlockFunc() to declare a pointer to the block argument even when there are no user-supplied arguments to the block.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaInit.cpp')
0 files changed, 0 insertions, 0 deletions