[cfe-commits] r68348 - /cfe/trunk/tools/clang-cc/clang-cc.cpp
Douglas Gregor
dgregor at apple.com
Thu Apr 2 16:43:51 PDT 2009
Author: dgregor
Date: Thu Apr 2 18:43:50 2009
New Revision: 68348
URL: http://llvm.org/viewvc/llvm-project?rev=68348&view=rev
Log:
Rename GeneratePCH action to GeneratePTH
Modified:
cfe/trunk/tools/clang-cc/clang-cc.cpp
Modified: cfe/trunk/tools/clang-cc/clang-cc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-cc/clang-cc.cpp?rev=68348&r1=68347&r2=68348&view=diff
==============================================================================
--- cfe/trunk/tools/clang-cc/clang-cc.cpp (original)
+++ cfe/trunk/tools/clang-cc/clang-cc.cpp Thu Apr 2 18:43:50 2009
@@ -192,7 +192,7 @@
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 @@
"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 @@
break;
}
- case GeneratePCH: {
+ case GeneratePTH: {
llvm::TimeRegion Timer(ClangFrontendTimer);
CacheTokens(PP, OutputFile);
ClearSourceMgr = true;
More information about the cfe-commits
mailing list