diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2007-11-07 18:40:28 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2007-11-07 18:40:28 +0000 |
commit | 1299a92327ec3f9776dc7eeb263fe2b57d52ab89 (patch) | |
tree | 635df868f6b2f60eafe78a89471b4eecad5342cc /clang/Driver/RewriteTest.cpp | |
parent | 81ad944c946be625bd775a41ff3abf4c291c5dcc (diff) | |
download | bcm5719-llvm-1299a92327ec3f9776dc7eeb263fe2b57d52ab89.tar.gz bcm5719-llvm-1299a92327ec3f9776dc7eeb263fe2b57d52ab89.zip |
Emit objective-c's meta-data at the end of rewriting to stdout.
llvm-svn: 43830
Diffstat (limited to 'clang/Driver/RewriteTest.cpp')
-rw-r--r-- | clang/Driver/RewriteTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/Driver/RewriteTest.cpp b/clang/Driver/RewriteTest.cpp index 52a93df3014..0c3d06b86b1 100644 --- a/clang/Driver/RewriteTest.cpp +++ b/clang/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()); } //===----------------------------------------------------------------------===// |