From: Douglas Gregor Date: Thu, 2 Apr 2009 23:43:50 +0000 (+0000) Subject: Rename GeneratePCH action to GeneratePTH X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf1bd6eab1bd0d14eb351ceddb09e4aa435fe962;p=clang Rename GeneratePCH action to GeneratePTH git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68348 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;