[PATCH] D103714: [flang] Check for undefined derived types
Peter Klausler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 4 13:45:27 PDT 2021
klausler added inline comments.
================
Comment at: flang/include/flang/Semantics/symbol.h:295
bool isForwardReferenced_{false};
+ bool isDefined_{false};
friend llvm::raw_ostream &operator<<(
----------------
Is `isDefined_` needed? If a type symbol is created due to a forward reference, `isForwardReferenced_` will be set; maybe you can clear it when/if the type is defined, and then just test that flag later.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103714/new/
https://reviews.llvm.org/D103714
More information about the llvm-commits
mailing list