summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/FrontendActions.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/Frontend/FrontendActions.cpp
parent3d76d3605989238c839c5510b1adc6d013b3db47 (diff)
downloadbcm5719-llvm-65ebd13f4185681b572b4ccd62d6dff33eec511c.tar.gz
bcm5719-llvm-65ebd13f4185681b572b4ccd62d6dff33eec511c.zip
[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/Frontend/FrontendActions.cpp')
-rw-r--r--clang/lib/Frontend/FrontendActions.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/Frontend/FrontendActions.cpp b/clang/lib/Frontend/FrontendActions.cpp
index 08d91e6a5a1..edc865638b5 100644
--- a/clang/lib/Frontend/FrontendActions.cpp
+++ b/clang/lib/Frontend/FrontendActions.cpp
@@ -92,12 +92,6 @@ ASTViewAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
}
std::unique_ptr<ASTConsumer>
-DeclContextPrintAction::CreateASTConsumer(CompilerInstance &CI,
- StringRef InFile) {
- return CreateDeclContextPrinter();
-}
-
-std::unique_ptr<ASTConsumer>
GeneratePCHAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
std::string Sysroot;
if (!ComputeASTConsumerArguments(CI, /*ref*/ Sysroot))
OpenPOWER on IntegriCloud