From 4de035947bff2610db9d586937b763a8e70d70dd Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Tue, 31 Jul 2012 09:37:40 +0000 Subject: Added -ast-list option to dump filterable AST decl node names. llvm-svn: 161040 --- clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp') diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp index 2662844..bd50083 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(); -- cgit v1.1