[cfe-commits] r43830 - /cfe/trunk/Driver/RewriteTest.cpp
Fariborz Jahanian
fjahanian at apple.com
Wed Nov 7 10:40:28 PST 2007
Author: fjahanian
Date: Wed Nov 7 12:40:28 2007
New Revision: 43830
URL: http://llvm.org/viewvc/llvm-project?rev=43830&view=rev
Log:
Emit objective-c's meta-data at the end of rewriting to stdout.
Modified:
cfe/trunk/Driver/RewriteTest.cpp
Modified: cfe/trunk/Driver/RewriteTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/RewriteTest.cpp?rev=43830&r1=43829&r2=43830&view=diff
==============================================================================
--- cfe/trunk/Driver/RewriteTest.cpp (original)
+++ cfe/trunk/Driver/RewriteTest.cpp Wed Nov 7 12:40:28 2007
@@ -193,8 +193,6 @@
// 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 @@
} else {
printf("No changes\n");
}
-
+ // Emit metadata.
+ printf("%s", ResultStr.c_str());
}
//===----------------------------------------------------------------------===//
More information about the cfe-commits
mailing list