]> granicus.if.org Git - clang/commitdiff
Remove an old/vacuous if clause.
authorSteve Naroff <snaroff@apple.com>
Fri, 3 Oct 2008 23:00:50 +0000 (23:00 +0000)
committerSteve Naroff <snaroff@apple.com>
Fri, 3 Oct 2008 23:00:50 +0000 (23:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57036 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/RewriteBlocks.cpp

index dbb39401d47624e337d0095540a751d4126153c4..8fbe768876147812173dbce392d4783eb5f2e4ae 100644 (file)
@@ -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;
   }