summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/TextNodeDumper.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement Attr dumping in terms of visitorsStephen Kelly2019-01-111-0/+23
| | | | | | | | | | | | | | Remove now-vestigial dumpType and dumpBareDeclRef methods. The old tablegen generated code used to expect them to be present, but the new generated code has no such requirement. Reviewers: aaron.ballman Subscribers: mgorny, cfe-commits Differential Revision: https://reviews.llvm.org/D55492 llvm-svn: 350958
* NFC: Change case of identifiersStephen Kelly2019-01-101-1/+1
| | | | llvm-svn: 350890
* [ASTDump] NFC: Move dumpDeclRef to NodeDumperStephen Kelly2019-01-081-0/+11
| | | | | | | | | | Reviewers: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D55337 llvm-svn: 350677
* Implement the TreeStructure interface through the TextNodeDumperStephen Kelly2019-01-081-2/+2
| | | | | | | | | | | | | | | | | | | | Summary: This way, when the generic ASTTraverser is extracted from ASTDumper, there can't be any problem related to ordering of class members, a concern that was raised in https://reviews.llvm.org/D55337. This will also preserve the property that the generic traverser does not enforce any coupling between the NodeDumper and the TreeStructure. https://godbolt.org/z/PEtT1_ Reviewers: aaron.ballman, erichkeane Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D56407 llvm-svn: 350665
* NFC: Move dump of individual comment nodes to NodeDumperStephen Kelly2018-12-091-2/+146
| | | | | | | | | | Reviewers: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D55190 llvm-svn: 348719
* NFC: Extract TextNodeDumper classStephen Kelly2018-12-051-0/+141
Summary: Start by moving some utilities to it. It will eventually house dumping of individual nodes (after indentation etc has already been accounted for). Reviewers: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D55189 llvm-svn: 348412
OpenPOWER on IntegriCloud