diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-04-02 23:43:50 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-04-02 23:43:50 +0000 |
commit | bf1bd6eab1bd0d14eb351ceddb09e4aa435fe962 (patch) | |
tree | 5c108f1b2d5640cfe6190947d76d8f6382031175 | |
parent | 8e7ec66b164dc139cd4f648c51e9506eb3a50eb7 (diff) |
Rename GeneratePCH action to GeneratePTH
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68348 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/clang-cc/clang-cc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/clang-cc/clang-cc.cpp b/tools/clang-cc/clang-cc.cpp index a71847af12..de19409388 100644 --- a/tools/clang-cc/clang-cc.cpp +++ b/tools/clang-cc/clang-cc.cpp @@ -192,7 +192,7 @@ enum ProgActions { DumpTokens, // Dump out preprocessed tokens. DumpRawTokens, // Dump out raw tokens. RunAnalysis, // Run one or more source code analyses. - GeneratePCH, // Generate precompiled header. + GeneratePTH, // Generate pre-tokenized header. InheritanceView // View C++ inheritance for a specified class. }; @@ -226,7 +226,7 @@ ProgAction(llvm::cl::desc("Choose output type:"), llvm::cl::ZeroOrMore, "Build ASTs and view them with GraphViz"), clEnumValN(PrintDeclContext, "print-decl-contexts", "Print DeclContexts and their Decls"), - clEnumValN(GeneratePCH, "emit-pth", + clEnumValN(GeneratePTH, "emit-pth", "Generate pre-tokenized header file"), clEnumValN(TestSerialization, "test-pickling", "Run prototype serialization code"), @@ -1490,7 +1490,7 @@ static void ProcessInputFile(Preprocessor &PP, PreprocessorFactory &PPF, break; } - case GeneratePCH: { + case GeneratePTH: { llvm::TimeRegion Timer(ClangFrontendTimer); CacheTokens(PP, OutputFile); ClearSourceMgr = true; |