[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 12:28:33 PDT 2020


tskeith updated this revision to Diff 259672.
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.


Repository:
  rG LLVM Github Monorepo

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/lib/Semantics/compute-offsets.cpp
  flang/lib/Semantics/mod-file.cpp
  flang/lib/Semantics/scope.cpp

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


More information about the llvm-commits mailing list