From: Steve Naroff Date: Fri, 3 Oct 2008 23:00:50 +0000 (+0000) Subject: Remove an old/vacuous if clause. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94ede6e443726affff31c1666a8ed57e6bd4d674;p=clang Remove an old/vacuous if clause. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57036 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }