]> granicus.if.org Git - clang/commitdiff
Rename GeneratePCH action to GeneratePTH
authorDouglas Gregor <dgregor@apple.com>
Thu, 2 Apr 2009 23:43:50 +0000 (23:43 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 2 Apr 2009 23:43:50 +0000 (23:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68348 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-cc/clang-cc.cpp

index a71847af1217a102a2eb95b79ceafcd11e01b52b..de1940938833d14a667f3710d2c06831a330635a 100644 (file)
@@ -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;