aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-10-03 03:50:44 +0000
committerFangrui Song <maskray@google.com>2018-10-03 03:50:44 +0000
commit65ebd13f4185681b572b4ccd62d6dff33eec511c (patch)
tree4c68d50c25da8a45fb00507239cb13af54a83163 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent3d76d3605989238c839c5510b1adc6d013b3db47 (diff)
downloadllvm-65ebd13f4185681b572b4ccd62d6dff33eec511c.zip
llvm-65ebd13f4185681b572b4ccd62d6dff33eec511c.tar.gz
llvm-65ebd13f4185681b572b4ccd62d6dff33eec511c.tar.bz2
[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
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r--clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp1
1 files changed, 0 insertions, 1 deletions
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<DeclContextPrintAction>();
case PrintPreamble: return llvm::make_unique<PrintPreambleAction>();
case PrintPreprocessedInput: {
if (CI.getPreprocessorOutputOpts().RewriteIncludes ||