[PATCH] D82903: [flang] Bug fix for ambiguous references to data and functions
Tim Keith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 11:52:01 PDT 2020
tskeith added inline comments.
================
Comment at: flang/lib/Semantics/resolve-names.cpp:5907
+ if (!symbol) {
+ symbol = currScope().FindSymbol(name.source);
+ }
----------------
I think if you do this in `ResolveDataRef` when we see an `ArrayElement` you don't need to call `FindScope`. The name will be resolved if it can be.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82903/new/
https://reviews.llvm.org/D82903
More information about the llvm-commits
mailing list