diff options
author | Fangrui Song <maskray@google.com> | 2018-10-03 03:50:44 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-10-03 03:50:44 +0000 |
commit | 65ebd13f4185681b572b4ccd62d6dff33eec511c (patch) | |
tree | 4c68d50c25da8a45fb00507239cb13af54a83163 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 3d76d3605989238c839c5510b1adc6d013b3db47 (diff) | |
download | llvm-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.cpp | 1 |
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 || |