Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-30 | Refactor and clean up the AST printer, so that it uses a DeclVisitor, | Douglas Gregor | |
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 | |||
2009-05-29 | Create a new PrintingPolicy class, which we pass down through the AST | Douglas Gregor | |
printing logic to help customize the output. For now, we use this rather than a special flag to suppress the "struct" when printing "struct X" and to print the Boolean type as "bool" in C++ but "_Bool" in C. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72590 91177308-0d34-0410-b5e6-96231b3b80d8 | |||
2009-05-21 | AST XML dump, from Olaf Krzikalla! | Douglas Gregor | |
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72224 91177308-0d34-0410-b5e6-96231b3b80d8 |