summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/DocumentXML.cpp
Commit message (Collapse)AuthorAgeFilesLines
* More XML output support, from Olaf Krzikalla!Douglas Gregor2009-06-151-283/+65
| | | | llvm-svn: 73402
* Refactor and clean up the AST printer, so that it uses a DeclVisitor,Douglas Gregor2009-05-301-0/+2
| | | | | | | | | 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(). llvm-svn: 72597
* Create a new PrintingPolicy class, which we pass down through the ASTDouglas Gregor2009-05-291-1/+1
| | | | | | | | | 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. llvm-svn: 72590
* AST XML dump, from Olaf Krzikalla!Douglas Gregor2009-05-211-0/+577
llvm-svn: 72224
OpenPOWER on IntegriCloud