[PATCH] D78680: [flang] Compute sizes and offsets for symbols

Tim Keith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 13:34:09 PDT 2020


tskeith updated this revision to Diff 259688.
tskeith edited the summary of this revision.
tskeith added a comment.

Add Scope::GetSymbols to get symbols in canonical order.
compute-offsets.cpp and mod-file.cpp both need to process symbols in the
order in which they are declared. Move the collecting of those symbols
into Scope so that it can be shared.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78680/new/

https://reviews.llvm.org/D78680

Files:
  flang/include/flang/Semantics/scope.h
  flang/include/flang/Semantics/symbol.h
  flang/include/flang/Semantics/type.h
  flang/lib/Evaluate/type.cpp
  flang/lib/Semantics/CMakeLists.txt
  flang/lib/Semantics/compute-offsets.cpp
  flang/lib/Semantics/compute-offsets.h
  flang/lib/Semantics/mod-file.cpp
  flang/lib/Semantics/scope.cpp
  flang/lib/Semantics/semantics.cpp
  flang/lib/Semantics/symbol.cpp
  flang/lib/Semantics/type.cpp
  flang/test/Semantics/offsets01.f90
  flang/test/Semantics/offsets02.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78680.259688.patch
Type: text/x-patch
Size: 20022 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200423/bc747e2a/attachment.bin>


More information about the llvm-commits mailing list