NFC: Move VisitExpr code to dumpStmt
authorStephen Kelly <steveire@gmail.com>
Thu, 6 Dec 2018 23:33:33 +0000 (23:33 +0000)
committerStephen Kelly <steveire@gmail.com>
Thu, 6 Dec 2018 23:33:33 +0000 (23:33 +0000)
commit50e82875bcf992a72c403aa5b5b8877737b560f2
treec9599161b9fc3a051059908086be6aa825b182ec
parentb9d6a5eb4fb5b3f087aa10577888b962b916e5bc
NFC: Move VisitExpr code to dumpStmt

Summary:
The call is duplicated in the handlers of all Expr subclasses.

This change makes it easy to split statement handling out to
TextNodeDumper.

Reviewers: aaron.ballman

Subscribers: cfe-commits

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

llvm-svn: 348546
clang/lib/AST/ASTDumper.cpp