| commit | 996677cffa764e70e85f289a2edd88aa48b57c2d | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <doug.gregor@gmail.com> | Sat May 30 00:08:05 2009 +0000 |
| committer | Douglas Gregor <doug.gregor@gmail.com> | Sat May 30 00:08:05 2009 +0000 |
| tree | 1b4253035fcbb699c4110f220609fc7f37e64ca0 | |
| parent | b72eca9721640e0bedec4a26c068c1eb427f62b4 [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