This is an archive of the discontinued LLVM Phabricator instance.

[clang] Perform sugared substitution of builtin templates
ClosedPublic

Authored by mizvekov on Oct 23 2022, 1:29 PM.

Details

Summary

Since these are much like template type aliases, where we don't
track a specialization for them and just substitute them eagerly,
we can't resugar them anyway, and there is no relevant cost in just
performing a finalizing sugared substitution.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Diff Detail

Event Timeline

mizvekov created this revision.Oct 23 2022, 1:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 23 2022, 1:29 PM
mizvekov requested review of this revision.Oct 23 2022, 1:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 23 2022, 1:29 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
mizvekov added reviewers: davrec, Restricted Project.Oct 23 2022, 2:57 PM
erichkeane accepted this revision.Oct 24 2022, 6:15 AM
This revision is now accepted and ready to land.Oct 24 2022, 6:15 AM
mizvekov updated this revision to Diff 470347.Oct 24 2022, 6:34 PM
mizvekov edited the summary of this revision. (Show Details)