Start by moving some utilities to it. It will eventually house dumping
of individual nodes (after indentation etc has already been accounted
for).
Details
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 25593 Build 25592: arc lint + arc unit
Event Timeline
Basically looking good, modulo namespace questions from D55188 and a few other organizational questions.
| include/clang/AST/ASTTextNodeDumper.h | ||
|---|---|---|
| 1 | Perhaps the file should be named TextNodeDumper.h to match the class name? | |
| 44 | Should these implementations live in the header file? I feel like they belong in a .cpp file instead. | |
LGTM!
| lib/AST/ASTDumper.cpp | ||
|---|---|---|
| 92 | Another nice cleanup for later would be to replace these call sites with the NodeDumper.foo() version. Same for dumpBareDeclRef() below. | |
| lib/AST/ASTDumper.cpp | ||
|---|---|---|
| 92 | These methods are called from AttrDump.inc. They'll be removed when the commit to port the Attr dumping goes in. | |
Perhaps the file should be named TextNodeDumper.h to match the class name?