aboutsummaryrefslogtreecommitdiff
path: root/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2007-11-07 18:40:28 +0000
committerFariborz Jahanian <fjahanian@apple.com>2007-11-07 18:40:28 +0000
commit4402d81f343d059dd850c60e9eb3d31aa952c6b1 (patch)
tree8b05a5dc02e975c20488c5c40fc6f99bcb1cde11 /Driver/RewriteTest.cpp
parent45ecd5daa36385b7e0b2f657357805e01f5d8cbf (diff)
Emit objective-c's meta-data at the end of rewriting to stdout.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteTest.cpp')
-rw-r--r--Driver/RewriteTest.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp
index 52a93df301..0c3d06b86b 100644
--- a/Driver/RewriteTest.cpp
+++ b/Driver/RewriteTest.cpp
@@ -193,8 +193,6 @@ RewriteTest::~RewriteTest() {
// Rewrite Objective-c meta data*
std::string ResultStr;
WriteObjcMetaData(ResultStr);
- // For now just print the string out.
- printf("%s", ResultStr.c_str());
// Get the buffer corresponding to MainFileID. If we haven't changed it, then
// we are done.
@@ -206,7 +204,8 @@ RewriteTest::~RewriteTest() {
} else {
printf("No changes\n");
}
-
+ // Emit metadata.
+ printf("%s", ResultStr.c_str());
}
//===----------------------------------------------------------------------===//