[flang-commits] [PATCH] D79346: [flang][NFC] Add accessors to equivalence and common blocks

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon May 4 12:22:05 PDT 2020


klausler created this revision.
klausler added reviewers: tskeith, sscalpone.
klausler added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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".
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".

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_cast`s.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79346

Files:
  flang/include/flang/Semantics/scope.h
  flang/include/flang/Semantics/symbol.h
  flang/lib/Semantics/mod-file.cpp
  flang/lib/Semantics/resolve-names.cpp
  flang/lib/Semantics/scope.cpp
  flang/lib/Semantics/symbol.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79346.261886.patch
Type: text/x-patch
Size: 6793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20200504/af46c468/attachment-0001.bin>


More information about the flang-commits mailing list