The AST dump functionality does not currently make use of a printing policy, so when dumping C++ code, you will see _Bool, struct Foo and other C-isms in the output. This patch adds a PrintingPolicy object to the AST dumper to get slightly improved output for the various language modes, and corrects the impacted test cases.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Thanks, Hal! Committed in r321223.
lib/AST/ASTDumper.cpp | ||
---|---|---|
218 | Sorry about that -- I spotted it when my rebase failed and have removed it. |
Remove commented-out code.