Page MenuHomePhabricator

[flang][NFC] Add accessors to equivalence and common blocks
ClosedPublic

Authored by klausler on Mon, May 4, 11:54 AM.

Details

Summary

Add a way to get mutable equivalence sets to Scope so that they can
have sizes and offsets assigned to them.

Change CommonBlockDetails to have mutable symbols so that they can have
sizes and offets assigned to them. This also allows the removal of some
const_casts.

Add MutableSymbolRef and MutableSymbolVector as mutable analogs to
SymbolRef and SymbolVector. Replace uses of equivalent types with those
names.

Diff Detail

Event Timeline

klausler created this revision.Mon, May 4, 11:54 AM
Herald added a project: Restricted Project. · View Herald Transcript
klausler retitled this revision from [NFC] Add accessors to for equivalence and common blocks to [flang][NFC] Add accessors to for equivalence and common blocks.Mon, May 4, 11:56 AM
klausler retitled this revision from [flang][NFC] Add accessors to for equivalence and common blocks to [flang][NFC] Add accessors to equivalence and common blocks.Mon, May 4, 12:10 PM
sscalpone accepted this revision.Mon, May 4, 11:14 PM
This revision is now accepted and ready to land.Mon, May 4, 11:14 PM
This revision was automatically updated to reflect the committed changes.