summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/Driver/RewriteBlocks.cpp6
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;
}
OpenPOWER on IntegriCloud