aboutsummaryrefslogtreecommitdiff
path: root/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
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());
}
//===----------------------------------------------------------------------===//