Page MenuHomePhabricator

[clang] fix transformation of template arguments of 'auto' type constraints

Authored by mizvekov on Sep 7 2021, 5:32 PM.



See PR48617.

When assigning the new template arguments to the new TypeLoc, we were looping
on the argument count of the original TypeLoc instead of the new one,
which can be different when packs are present.

Signed-off-by: Matheus Izvekov <>

Diff Detail

Event Timeline

mizvekov created this revision.Sep 7 2021, 5:32 PM
mizvekov published this revision for review.Sep 7 2021, 5:52 PM
mizvekov added a reviewer: rsmith.
Herald added a project: Restricted Project. · View Herald TranscriptSep 7 2021, 5:52 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
rsmith accepted this revision.Sep 7 2021, 6:08 PM
This revision is now accepted and ready to land.Sep 7 2021, 6:08 PM
This revision was landed with ongoing or failed builds.Sep 7 2021, 6:22 PM
This revision was automatically updated to reflect the committed changes.