summaryrefslogtreecommitdiffstats
path: root/clang/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-11-08 04:27:23 +0000
committerChris Lattner <sabre@nondot.org>2007-11-08 04:27:23 +0000
commit9fd5890e5256d5ab6ce5d952140b9da8456ba4f3 (patch)
treeb6da673a504f6c765ac1e86ffaa3724f8e20ba19 /clang/Driver/RewriteTest.cpp
parent4573cc708ab265b439ab26e695383656af0e8e5a (diff)
downloadbcm5719-llvm-9fd5890e5256d5ab6ce5d952140b9da8456ba4f3.tar.gz
bcm5719-llvm-9fd5890e5256d5ab6ce5d952140b9da8456ba4f3.zip
use std::copy instead of memcpy for abstraction.
Disable rewrite-tabs. This speeds up processing of the commentified huge crazy testcase steve gave me from 20s to 6.6s in a release build. llvm-svn: 43880
Diffstat (limited to 'clang/Driver/RewriteTest.cpp')
-rw-r--r--clang/Driver/RewriteTest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/Driver/RewriteTest.cpp b/clang/Driver/RewriteTest.cpp
index 8ff6bc64388..a7f1c209b31 100644
--- a/clang/Driver/RewriteTest.cpp
+++ b/clang/Driver/RewriteTest.cpp
@@ -195,7 +195,9 @@ void RewriteTest::HandleDeclInMainFile(Decl *D) {
RewriteTest::~RewriteTest() {
// Get the top-level buffer that this corresponds to.
- RewriteTabs();
+
+ // Rewrite tabs if we care.
+ //RewriteTabs();
// Rewrite Objective-c meta data*
std::string ResultStr;
OpenPOWER on IntegriCloud