LLVM fork for squiid.
https://github.com/llvm/llvm-project/
a6874f8ee8
Common block names can't clash with other names, so add `commonBlocks_` to `Scope` to record the common blocks of a scoping unit. This requires changes to how scopes are dumped and written to `.mod` files. Support common blocks in BIND statements. Add optional bind-name to `CommonBlockDetails`. Add `CheckNotInBlock()` for checking statements that are not allowed in block constructs. In `rewrite-parse-tree.cc`, no longer skip check for resolved names in common statements. But do skip the checks in compiler directives. Original-commit: flang-compiler/f18@805a1ffd9b Reviewed-on: https://github.com/flang-compiler/f18/pull/298 Tree-same-pre-rewrite: false |
||
---|---|---|
flang |