diff options
| author | Steve Naroff <snaroff@apple.com> | 2008-10-03 23:00:50 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2008-10-03 23:00:50 +0000 |
| commit | 3d5a11c62254780f42993d4d7d4ac0247d1e308d (patch) | |
| tree | c2c460b4fc8e77f6dd524df1c0d341fd9bb6a08a | |
| parent | 8c36a1c09c00e392af411f63df2a1141415beb59 (diff) | |
| download | bcm5719-llvm-3d5a11c62254780f42993d4d7d4ac0247d1e308d.tar.gz bcm5719-llvm-3d5a11c62254780f42993d4d7d4ac0247d1e308d.zip | |
Remove an old/vacuous if clause.
llvm-svn: 57036
| -rw-r--r-- | clang/Driver/RewriteBlocks.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/Driver/RewriteBlocks.cpp b/clang/Driver/RewriteBlocks.cpp index dbb39401d47..8fbe7688761 100644 --- a/clang/Driver/RewriteBlocks.cpp +++ b/clang/Driver/RewriteBlocks.cpp @@ -472,12 +472,6 @@ std::string RewriteBlocks::SynthesizeBlockFunc(BlockExpr *CE, int i, } } } - if (haveByRefDecls) { - // Remove |...|. - //const char *firstBarPtr = strchr(BodyStartBuf, '|'); - //const char *secondBarPtr = strchr(firstBarPtr+1, '|'); - //BodyBuf.replace(firstBarPtr-BodyStartBuf, secondBarPtr-firstBarPtr+1, ""); - } S += " "; S += BodyBuf; } |

