This is an archive of the discontinued LLVM Phabricator instance.

NFC: Move Decl node handling to TextNodeDumper
ClosedPublic

Authored by steveire on Jan 12 2019, 12:26 PM.

Diff Detail

Repository
rC Clang

Event Timeline

steveire created this revision.Jan 12 2019, 12:26 PM
aaron.ballman accepted this revision.Jan 14 2019, 5:58 AM

LGTM aside from some minor nits.

lib/AST/ASTDumper.cpp
509–511

Elide braces.

lib/AST/TextNodeDumper.cpp
239

const auto * (which helps to clarify the const_cast<> below.)

243

const auto *

248–251

Surround these with newlines for visual clarity.

254

const auto *

This revision is now accepted and ready to land.Jan 14 2019, 5:58 AM
This revision was automatically updated to reflect the committed changes.