diff --git a/clang/Driver/RewriteTest.cpp b/clang/Driver/RewriteTest.cpp index 68ca1427320a..d3455af69a1b 100644 --- a/clang/Driver/RewriteTest.cpp +++ b/clang/Driver/RewriteTest.cpp @@ -93,7 +93,6 @@ namespace { void SynthGetClassFunctionDecl(); // Metadata emission. - void HandleObjcMetaDataEmission(); void RewriteObjcClassMetaData(ObjcImplementationDecl *IDecl, std::string &Result); @@ -195,16 +194,6 @@ RewriteTest::~RewriteTest() { } -/// HandleObjcMetaDataEmission - main routine to generate objective-c's -/// metadata. -void RewriteTest::HandleObjcMetaDataEmission() { - // Rewrite Objective-c meta data* - std::string ResultStr; - WriteObjcMetaData(ResultStr); - // For now just print the string out. - printf("%s", ResultStr.c_str()); -} - //===----------------------------------------------------------------------===// // Syntactic (non-AST) Rewriting Code //===----------------------------------------------------------------------===//