Emit objective-c's meta-data at the end of rewriting to stdout.

llvm-svn: 43830
This commit is contained in:
Fariborz Jahanian 2007-11-07 18:40:28 +00:00
parent 81ad944c94
commit 1299a92327
1 changed files with 2 additions and 3 deletions

View File

@ -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());
}
//===----------------------------------------------------------------------===//