[cfe-commits] r68164 - /cfe/trunk/tools/clang-cc/clang-cc.cpp
Ted Kremenek
kremenek at apple.com
Tue Mar 31 17:23:28 PDT 2009
Author: kremenek
Date: Tue Mar 31 19:23:28 2009
New Revision: 68164
URL: http://llvm.org/viewvc/llvm-project?rev=68164&view=rev
Log:
Add '-emit-pth' option to clang-cc as an alternate API for the high-level driver
to generate PTH files. Soon we will remove from clang-cc the GCC-style '-x
c-header' interface for generating PTH files and push this logic to 'clang'.
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=68164&r1=68163&r2=68164&view=diff
==============================================================================
--- cfe/trunk/tools/clang-cc/clang-cc.cpp (original)
+++ cfe/trunk/tools/clang-cc/clang-cc.cpp Tue Mar 31 19:23:28 2009
@@ -138,7 +138,9 @@
clEnumValN(ASTView, "ast-view",
"Build ASTs and view them with GraphViz"),
clEnumValN(PrintDeclContext, "print-decl-contexts",
- "Print DeclContexts and their Decls."),
+ "Print DeclContexts and their Decls"),
+ clEnumValN(GeneratePCH, "emit-pth",
+ "Generate pre-tokenized header file"),
clEnumValN(TestSerialization, "test-pickling",
"Run prototype serialization code"),
clEnumValN(EmitAssembly, "S",
More information about the cfe-commits
mailing list