diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2011-04-08 23:48:29 +0000 | 
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-04-08 23:48:29 +0000 | 
| commit | eae9c0e3df369148f3a4fff47b13e1f33ea79acd (patch) | |
| tree | c79c24f915428b4fb4d100c8bd2c0c621a2f3947 /clang/lib/Rewrite | |
| parent | 778947c2037cf7f817ab16fe18b396626753ee69 (diff) | |
| download | bcm5719-llvm-eae9c0e3df369148f3a4fff47b13e1f33ea79acd.tar.gz bcm5719-llvm-eae9c0e3df369148f3a4fff47b13e1f33ea79acd.zip | |
Fixes a rewrting bug of a property-dot syntax expression inside
a block. First part of // rdar://9254348
llvm-svn: 129171
Diffstat (limited to 'clang/lib/Rewrite')
| -rw-r--r-- | clang/lib/Rewrite/RewriteObjC.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/clang/lib/Rewrite/RewriteObjC.cpp b/clang/lib/Rewrite/RewriteObjC.cpp index 13cd671f123..298ed9a9062 100644 --- a/clang/lib/Rewrite/RewriteObjC.cpp +++ b/clang/lib/Rewrite/RewriteObjC.cpp @@ -5558,6 +5558,7 @@ Stmt *RewriteObjC::RewriteFunctionBodyOrGlobalInitializer(Stmt *S) {      // Rewrite the block body in place.      Stmt *SaveCurrentBody = CurrentBody;      CurrentBody = BE->getBody(); +    CollectPropertySetters(CurrentBody);      PropParentMap = 0;      RewriteFunctionBodyOrGlobalInitializer(BE->getBody());      CurrentBody = SaveCurrentBody; | 

