This is an archive of the discontinued LLVM Phabricator instance.

NFC: Move Type Visit implementation to TextNodeDumper
ClosedPublic

Authored by steveire on Jan 12 2019, 9:13 AM.

Diff Detail

Repository
rC Clang

Event Timeline

steveire created this revision.Jan 12 2019, 9:13 AM
aaron.ballman accepted this revision.Jan 14 2019, 5:42 AM

LGTM aside from some minor nits.

lib/AST/ASTDumper.cpp
432–434

Elide braces.

lib/AST/TextNodeDumper.cpp
16

Spurious whitespace.

140

Drop the llvm::

161–164

Can you add a newline before the if statement and after the else if body? Something to set it apart that only one of these two branches is output.

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