[all-commits] [llvm/llvm-project] 37a002: [flang] Don't lose homonymous specific when copyin...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Aug 9 07:56:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 37a0022aaa5a2ab15d7933e1c84e30b53a895bca
https://github.com/llvm/llvm-project/commit/37a0022aaa5a2ab15d7933e1c84e30b53a895bca
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-08-09 (Tue, 09 Aug 2022)
Changed paths:
M flang/lib/Semantics/mod-file.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/resolve17.f90
Log Message:
-----------
[flang] Don't lose homonymous specific when copying generic
Defined generic procedure interfaces are allowed to shadow non-generic
procedures of the same name in the same scope (whether or not
that non-generic procedure is a specific procedure of the generic).
When making a copy of a generic interface symbol so that it can
be locally modified or be merged with another generic, don't forget
about the homonymous non-generic procedure that it might shadow.
Differential Revision: https://reviews.llvm.org/D131103
More information about the All-commits
mailing list