]> granicus.if.org Git - clang/commit
Extract ASTDumper to a header file
authorStephen Kelly <steveire@gmail.com>
Fri, 17 May 2019 13:59:15 +0000 (13:59 +0000)
committerStephen Kelly <steveire@gmail.com>
Fri, 17 May 2019 13:59:15 +0000 (13:59 +0000)
commit6da38a622be8198c59aed95c7440a645bc8b00b7
treed7afe8c40da5ad05ed3997f15f504e87e0c7fdf7
parent121ebecd223d740bb38857f723b64aee85d0ffcf
Extract ASTDumper to a header file

Summary:
This class has member APIs which are useful to clients.  Make it
possible to use those APIs without adding them to dump() member
functions.  Doing so does not scale.  The optional arguments to dump()
should be designed to be useful in a debugging context.

Reviewers: aaron.ballman

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D61835

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361034 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTDumper.h [new file with mode: 0644]
lib/AST/ASTDumper.cpp