Implement Attr dumping in terms of visitors
authorStephen Kelly <steveire@gmail.com>
Fri, 11 Jan 2019 19:16:01 +0000 (19:16 +0000)
committerStephen Kelly <steveire@gmail.com>
Fri, 11 Jan 2019 19:16:01 +0000 (19:16 +0000)
commitdb8fac140ea522bfd5153adb407c60f605f3277b
tree7063f9152284b619af17aab28ddd81515dcf8b10
parent0df805db731fa1384c36f18a50b4ec35cbf368f4
Implement Attr dumping in terms of visitors

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
clang/include/clang/AST/AttrVisitor.h [new file with mode: 0644]
clang/include/clang/AST/CMakeLists.txt
clang/include/clang/AST/TextNodeDumper.h
clang/lib/AST/ASTDumper.cpp
clang/lib/AST/TextNodeDumper.cpp
clang/utils/TableGen/ClangAttrEmitter.cpp
clang/utils/TableGen/TableGen.cpp
clang/utils/TableGen/TableGenBackends.h