[flang-commits] [PATCH] D88613: [flang] Semantic analysis for FINAL subroutines

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Sep 30 13:57:23 PDT 2020


klausler added inline comments.


================
Comment at: flang/lib/Semantics/check-declarations.cpp:849
+              return CheckDistinguishableFinals(
+                  *ref, source, *prev.second, prev.first, derivedType);
+            })) {
----------------
tskeith wrote:
> With clang 9 I get this error:
> ```
> error: reference to local binding 'ref' declared in enclosing function 'Fortran::semantics::CheckHelper::CheckDerivedType'
> ```
> And same for `source`.
Thanks, I'll work around that and push an update shortly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88613



More information about the flang-commits mailing list