This is an archive of the discontinued LLVM Phabricator instance.

[Syntax] Add syntax-tree-dump in clang-check.
ClosedPublic

Authored by hokein on Jan 27 2021, 7:17 AM.

Details

Summary

This is useful to experiment/develop syntax trees.

Diff Detail

Event Timeline

hokein created this revision.Jan 27 2021, 7:17 AM
hokein requested review of this revision.Jan 27 2021, 7:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 27 2021, 7:17 AM
sammccall accepted this revision.Jan 27 2021, 9:25 AM
sammccall added inline comments.
clang/tools/clang-check/ClangCheck.cpp
141

DumpSyntaxTree since this is used for its side-effect?

152

ooh, we should consider colorizing this one day :-)

This revision is now accepted and ready to land.Jan 27 2021, 9:25 AM
hokein updated this revision to Diff 320112.Jan 29 2021, 5:19 AM
hokein marked an inline comment as done.

address comment.

This revision was landed with ongoing or failed builds.Jan 29 2021, 5:20 AM
This revision was automatically updated to reflect the committed changes.