Rename RewriteTest->RewriteObjC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49692 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 287ea9d..c6bcc14 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -61,7 +61,7 @@
llvm::cl::desc("Print performance metrics and statistics"));
enum ProgActions {
- RewriteTest, // Rewriter testing stuff.
+ RewriteObjC, // ObjC->C Rewriter.
HTMLTest, // HTML displayer testing stuff.
EmitLLVM, // Emit a .ll file.
EmitBC, // Emit a .bc file.
@@ -134,7 +134,7 @@
"Build ASTs then convert to LLVM, emit .bc file"),
clEnumValN(SerializeAST, "serialize",
"Build ASTs and emit .ast file"),
- clEnumValN(RewriteTest, "rewrite-test",
+ clEnumValN(RewriteObjC, "rewrite-objc",
"Playground for the code rewriter"),
clEnumValN(HTMLTest, "html-test",
"Playground for the HTML displayer"),
@@ -1088,7 +1088,7 @@
// FIXME: Allow user to tailor where the file is written.
return CreateASTSerializer(InFile, OutputFile, Diag, LangOpts);
- case RewriteTest:
+ case RewriteObjC:
return CreateCodeRewriterTest(InFile, OutputFile, Diag, LangOpts);
}
}