This is an archive of the discontinued LLVM Phabricator instance.

[Clang] Fix cast to BigIntType in hasUniqueObjectRepresentations
ClosedPublic

Authored by royjacobson on Apr 9 2023, 9:29 PM.

Details

Summary

A bad QualType cast caused us not to detect _BigInt types if they were wrapped inside sugar types like SubstTemplateTypeParm.
Fix https://github.com/llvm/llvm-project/issues/62019

Diff Detail

Event Timeline

royjacobson created this revision.Apr 9 2023, 9:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2023, 9:29 PM
royjacobson requested review of this revision.Apr 9 2023, 9:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2023, 9:29 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
cjdb accepted this revision.Apr 10 2023, 10:19 AM

LGTM, thanks for such a quick fix on a weekend :)

This revision is now accepted and ready to land.Apr 10 2023, 10:19 AM

Thank you for this quick fix