[PATCH] D80453: [flang] Fixes for problems with declaring procedure entities
Tim Keith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 26 10:17:20 PDT 2020
tskeith accepted this revision.
tskeith added inline comments.
This revision is now accepted and ready to land.
================
Comment at: flang/include/flang/Semantics/symbol.h:222
+ void set_interface(const ProcInterface &interface) {
+ CHECK(interface_.symbol() == nullptr && interface_.type() == nullptr);
+ interface_ = interface;
----------------
This could be `CHECK(!interface_.IsInterfaceSet())`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80453/new/
https://reviews.llvm.org/D80453
More information about the llvm-commits
mailing list