aboutsummaryrefslogtreecommitdiff
path: root/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-10-13 00:46:29 +0000
committerChris Lattner <sabre@nondot.org>2007-10-13 00:46:29 +0000
commit57c337d9ab32b84eb6a2a1fb83822660e4cdd285 (patch)
tree527e3686b94428a9c777d4f2ba6ff256a3fba7b3 /Driver/RewriteTest.cpp
parentfb5e5ba3c7708f3aef4db0ed30e8470b3ed4206a (diff)
haha, my devious plot is complete:
$ clang rewrite.c -rewrite-test prints: int foo() { b: foo(); f: foo(); foo(); } for: int foo() { b: foo(); f: foo(); foo(); } amazing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteTest.cpp')
-rw-r--r--Driver/RewriteTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp
index a8d658e237..103610248a 100644
--- a/Driver/RewriteTest.cpp
+++ b/Driver/RewriteTest.cpp
@@ -78,7 +78,7 @@ RewriteTest::~RewriteTest() {
SourceLocation::getFileLoc(MainFileID, BufPtr-MainBufStart);
// Rewrite the single tab character into a sequence of spaces.
- Rewrite.ReplaceText(TabLoc, 1, "xxxxxxxxxxx", Spaces);
+ Rewrite.ReplaceText(TabLoc, 1, " ", Spaces);
}
// Get the buffer corresponding to MainFileID. If we haven't changed it, then