summaryrefslogtreecommitdiff
path: root/lib/FrontendTool
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
commit171af64ef10ae816ed2a4f15f5d17aca1d71769f (patch)
tree975b767431050b8c1bcc59f42d176f6007e87988 /lib/FrontendTool
parentff104a12d61d34af67f12a7a966847c821d7afa8 (diff)
downloadclang-171af64ef10ae816ed2a4f15f5d17aca1d71769f.tar.gz
Added -ast-list option to dump filterable AST decl node names.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161040 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/FrontendTool')
-rw-r--r--lib/FrontendTool/ExecuteCompilerInvocation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/lib/FrontendTool/ExecuteCompilerInvocation.cpp
index 2662844b2e..bd50083bf1 100644
--- a/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ b/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();