[PATCH] D56407: Implement the TreeStructure interface through the TextNodeDumper
Stephen Kelly via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 7 13:15:13 PST 2019
steveire created this revision.
steveire added reviewers: aaron.ballman, erichkeane.
Herald added a subscriber: cfe-commits.
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_
Repository:
rC Clang
https://reviews.llvm.org/D56407
Files:
include/clang/AST/ASTDumperUtils.h
include/clang/AST/TextNodeDumper.h
lib/AST/ASTDumper.cpp
lib/AST/TextNodeDumper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56407.180552.patch
Type: text/x-patch
Size: 7581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190107/31b22f79/attachment.bin>
More information about the cfe-commits
mailing list