This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by klausler on May 4 2020, 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.May 4 2020, 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.May 4 2020, 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.May 4 2020, 12:10 PM
sscalpone accepted this revision.May 4 2020, 11:14 PM
This revision is now accepted and ready to land.May 4 2020, 11:14 PM
This revision was automatically updated to reflect the committed changes.