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 | 94ede6e443726affff31c1666a8ed57e6bd4d674 (patch) | |
tree | 160a794ce3a7fdf429cd18ddf02250029eed004b | |
parent | 4e13b762e02621f3186402ced398c8cc791f2dec (diff) |
Remove an old/vacuous if clause.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57036 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Driver/RewriteBlocks.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Driver/RewriteBlocks.cpp b/Driver/RewriteBlocks.cpp index dbb39401d4..8fbe768876 100644 --- a/Driver/RewriteBlocks.cpp +++ b/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; } |