This is an archive of the discontinued LLVM Phabricator instance.

[flang] Introduce fir.class type
ClosedPublic

Authored by clementval on Sep 30 2022, 6:33 AM.

Details

Summary

Introduce a new ClassType for polymorphic
entities. A fir.class type is similar to a fir.box type in
many ways and is also base on the BaseBoxType.

This patch is part of the implementation of the poltymorphic
entities.
https://github.com/llvm/llvm-project/blob/main/flang/docs/PolymorphicEntities.md

Depends on D134956

Diff Detail

Event Timeline

clementval created this revision.Sep 30 2022, 6:33 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptSep 30 2022, 6:33 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Sep 30 2022, 6:33 AM
jeanPerier accepted this revision.Sep 30 2022, 9:56 AM

Looks good to me

This revision is now accepted and ready to land.Sep 30 2022, 9:56 AM
This revision was automatically updated to reflect the committed changes.