This is an archive of the discontinued LLVM Phabricator instance.

[clang] fix canonicalization of nested name specifiers
ClosedPublic

Authored by mizvekov on Aug 2 2021, 2:25 PM.

Details

Summary

See PR47174.

When canonicalizing nested name specifiers of the type kind,
the prefix for 'DependentTemplateSpecialization' types was being
dropped, leading to malformed types which would cause failures
when rebuilding template names.

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

Diff Detail

Event Timeline

mizvekov created this revision.Aug 2 2021, 2:25 PM
mizvekov edited the summary of this revision. (Show Details)Aug 2 2021, 2:36 PM
mizvekov updated this revision to Diff 363710.Aug 3 2021, 5:58 AM
mizvekov edited the summary of this revision. (Show Details)

.

mizvekov published this revision for review.Aug 3 2021, 6:49 AM
mizvekov added a reviewer: rsmith.
mizvekov added a subscriber: Quuxplusone.
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2021, 6:49 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
mizvekov updated this revision to Diff 363725.Aug 3 2021, 6:52 AM
mizvekov edited the summary of this revision. (Show Details)

.

rsmith accepted this revision.Aug 3 2021, 1:27 PM
This revision is now accepted and ready to land.Aug 3 2021, 1:27 PM
mizvekov edited the summary of this revision. (Show Details)Aug 3 2021, 1:34 PM
This revision was automatically updated to reflect the committed changes.