Skip to content
Commit f26a1d4e authored by Steve Naroff's avatar Steve Naroff
Browse files

RewriteObjC::RewriteBlockDeclRefExpr(): Add parens to enforce precedence. This...

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.

llvm-svn: 63522
parent 50aeb12d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment