This is an archive of the discontinued LLVM Phabricator instance.

[SyntaxTree] Migrate `ParamatersAndQualifiers` to use the new List API
ClosedPublic

Authored by eduucaldas on Aug 26 2020, 1:52 AM.

Diff Detail

Event Timeline

eduucaldas created this revision.Aug 26 2020, 1:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 26 2020, 1:52 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
eduucaldas requested review of this revision.Aug 26 2020, 1:52 AM

I think we also need to update List::getTerminationKind() and other similar List methods to handle this list kind.

Could you add some tests with variadic parameter lists & variadic function templates? If we don't handle them correctly, please leave a FIXME in the test.

answer code-review comments

gribozavr2 accepted this revision.Aug 26 2020, 7:18 AM
gribozavr2 added inline comments.
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
4041

Could you also add one with a name? Args... args

This revision is now accepted and ready to land.Aug 26 2020, 7:18 AM
This revision was landed with ongoing or failed builds.Aug 26 2020, 9:51 AM
This revision was automatically updated to reflect the committed changes.