From 65ebd13f4185681b572b4ccd62d6dff33eec511c Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 3 Oct 2018 03:50:44 +0000 Subject: [Frontend] Delete -print-decl-contexts Summary: Its job is covered by -ast-dump. The option is rarely used and lacks many AST nodes which will lead to llvm_unreachable() crash. Reviewers: rsmith, arphaman Reviewed By: rsmith Subscribers: jfb, cfe-commits Differential Revision: https://reviews.llvm.org/D52529 llvm-svn: 343660 --- clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp') diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp index 4deebcd..2d3a211 100644 --- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp @@ -90,7 +90,6 @@ CreateFrontendBaseAction(CompilerInstance &CI) { return nullptr; } - case PrintDeclContext: return llvm::make_unique(); case PrintPreamble: return llvm::make_unique(); case PrintPreprocessedInput: { if (CI.getPreprocessorOutputOpts().RewriteIncludes || -- cgit v1.1