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 | c98c6a755c0a740ac307019a69bd6d13cdb43820 (patch) | |
tree | 24526d228caeef0233f43bdb0a14c636aae75cc4 /include/clang/Frontend/ASTConsumers.h | |
parent | 5a76d409162c036ac367ee84cc7d5816cf7a3aed (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/ASTConsumers.h')
-rw-r--r-- | include/clang/Frontend/ASTConsumers.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/clang/Frontend/ASTConsumers.h b/include/clang/Frontend/ASTConsumers.h index 2a13527df1..c2144da054 100644 --- a/include/clang/Frontend/ASTConsumers.h +++ b/include/clang/Frontend/ASTConsumers.h @@ -50,10 +50,6 @@ std::unique_ptr<ASTConsumer> CreateASTDeclNodeLister(); // function declarations to stderr. std::unique_ptr<ASTConsumer> CreateASTViewer(); -// DeclContext printer: prints out the DeclContext tree in human-readable form -// to stderr; this is intended for debugging. -std::unique_ptr<ASTConsumer> CreateDeclContextPrinter(); - } // end clang namespace #endif |