aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-04-14 22:03:09 +0000
committerSteve Naroff <snaroff@apple.com>2008-04-14 22:03:09 +0000
commitb29b427fa977e8e13ea104d22b193b2cd8a4a52f (patch)
treee6455c7a10ae694404d73bf0f6d45e1fb6b0b2df /Driver/clang.cpp
parent5618d88b93056bae76845b1503cce6ba0a6080f1 (diff)
Rename RewriteTest->RewriteObjC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r--Driver/clang.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 287ea9da9b..c6bcc14cad 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -61,7 +61,7 @@ Stats("print-stats",
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 @@ ProgAction(llvm::cl::desc("Choose output type:"), llvm::cl::ZeroOrMore,
"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 @@ static ASTConsumer* CreateASTConsumer(const std::string& InFile,
// 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);
}
}