summaryrefslogtreecommitdiffstats
path: root/include/clang
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2019-01-15 09:35:52 +0000
committerStephen Kelly <steveire@gmail.com>2019-01-15 09:35:52 +0000
commit24d0264d8e6d75b083e715acf642358472c11f8f (patch)
tree070c23351877d2fe505f144253dd1ea796ceccc5 /include/clang
parente0bec0a104b23686c21c388821bd5502f3c11901 (diff)
NFC: Move Decl node handling to TextNodeDumper
Reviewers: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D56643 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351175 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/AST/TextNodeDumper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/AST/TextNodeDumper.h b/include/clang/AST/TextNodeDumper.h
index 4ff9f0c10d..72f2ef6661 100644
--- a/include/clang/AST/TextNodeDumper.h
+++ b/include/clang/AST/TextNodeDumper.h
@@ -165,6 +165,8 @@ public:
void Visit(QualType T);
+ void Visit(const Decl *D);
+
void dumpPointer(const void *Ptr);
void dumpLocation(SourceLocation Loc);
void dumpSourceRange(SourceRange R);