This is an archive of the discontinued LLVM Phabricator instance.

[ASTDump] Mark variadic declarations with a tag instead of child node
ClosedPublic

Authored by steveire on Jan 15 2019, 3:35 PM.

Diff Detail

Repository
rC Clang

Event Timeline

steveire created this revision.Jan 15 2019, 3:35 PM

Can you add a test for a variadic lambda in C++ as well? I suspect it will work out of the box, but the extra test coverage would be good to have. We should probably have a K&R C function example as well to ensure it doesn't print as variadic. e.g., void func(); in C mode.

This revision is now accepted and ready to land.Jan 18 2019, 6:44 AM
This revision was automatically updated to reflect the committed changes.