summaryrefslogtreecommitdiffstats
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2012-07-31 09:37:40 +0000
committerAlexander Kornienko <alexfh@google.com>2012-07-31 09:37:40 +0000
commit4de035947bff2610db9d586937b763a8e70d70dd (patch)
tree1ab642fcbb23cc6785779ff5b15672fee2a44725 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent61b06cbcb4c5976dbfbac4a99bdba67c3409729c (diff)
downloadbcm5719-llvm-4de035947bff2610db9d586937b763a8e70d70dd.tar.gz
bcm5719-llvm-4de035947bff2610db9d586937b763a8e70d70dd.zip
Added -ast-list option to dump filterable AST decl node names.
llvm-svn: 161040
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r--clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
index 2662844b2ed..bd50083bf1c 100644
--- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
@@ -32,6 +32,7 @@ static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) {
using namespace clang::frontend;
switch (CI.getFrontendOpts().ProgramAction) {
+ case ASTDeclList: return new ASTDeclListAction();
case ASTDump: return new ASTDumpAction();
case ASTDumpXML: return new ASTDumpXMLAction();
case ASTPrint: return new ASTPrintAction();
OpenPOWER on IntegriCloud