diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-30 00:08:05 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-30 00:08:05 +0000 |
commit | 4fe0c8e9c76b96e7aff21696a40dacc09d0237bc (patch) | |
tree | 1b4253035fcbb699c4110f220609fc7f37e64ca0 /include/clang/Frontend/ASTConsumers.h | |
parent | 9e8a72291465488e734c8aa5e20142d8b3cd981c (diff) |
Refactor and clean up the AST printer, so that it uses a DeclVisitor,
walks through DeclContexts properly, and prints more of the
information available in the AST. The functionality is still available
via -ast-print, -ast-dump, etc., and also via the new member functions
Decl::dump() and Decl::print().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/ASTConsumers.h')
-rw-r--r-- | include/clang/Frontend/ASTConsumers.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/clang/Frontend/ASTConsumers.h b/include/clang/Frontend/ASTConsumers.h index c12062d794..04365d7c78 100644 --- a/include/clang/Frontend/ASTConsumers.h +++ b/include/clang/Frontend/ASTConsumers.h @@ -45,10 +45,8 @@ ASTConsumer *CreateASTPrinter(llvm::raw_ostream* OS); ASTConsumer *CreateASTPrinterXML(llvm::raw_ostream* OS); // AST dumper: dumps the raw AST in human-readable form to stderr; this is -// intended for debugging. A normal dump is done with FullDump = false; -// with FullDump = true, the dumper waits until the end of the translation -// unit to dump the AST. -ASTConsumer *CreateASTDumper(bool FullDump); +// intended for debugging. +ASTConsumer *CreateASTDumper(); // Graphical AST viewer: for each function definition, creates a graph of // the AST and displays it with the graph viewer "dotty". Also outputs |