[flang-commits] [PATCH] D102768: [flang] simplify derived type info table format

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed May 19 08:37:55 PDT 2021


klausler accepted this revision.
klausler added inline comments.


================
Comment at: flang/include/flang/Semantics/tools.h:463
+      const Scope &GetScope() const {
+        return DEREF(
+            derived_->scope() ? derived_->scope() : GetTypeSymbol().scope());
----------------
The "true" part of the conditional expression needs no DEREF protection.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102768



More information about the flang-commits mailing list