[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:02 PDT 2020
tskeith added inline comments.
================
Comment at: flang/lib/Semantics/resolve-names.cpp:5910
+ if (symbol) {
+ if (symbol->detailsIf<ProcEntityDetails>()) {
+ if (!context().HasError(*symbol)) {
----------------
`symbol->has<ProcEntityDetails>()` is better.
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