[PATCH] D99342: [flang] Fix CHECK() calls on erroneous procedure declarations

Tim Keith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 29 09:56:11 PDT 2021


tskeith accepted this revision.
tskeith added inline comments.


================
Comment at: flang/lib/Semantics/resolve-names.cpp:688
+    return *genericSymbol;
+  }
   // Add to generic the symbol for the subprogram with the same name
----------------
This could be just: `return DEREF(genericInfo_.top().symbol);`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99342/new/

https://reviews.llvm.org/D99342



More information about the llvm-commits mailing list