aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-10-07 12:58:43 -0700
committerPeter Klausler <pklausler@nvidia.com>2022-10-29 11:27:34 -0700
commit227f30a515d7aff0f462bed5fffb85b11ec0bb2a (patch)
tree2b9ef1374abbd64ad2082347aff0f38dc9f38102 /llvm/lib/Support/CommandLine.cpp
parent9422a8d94c0f038b78427f58b31c1200aed7524c (diff)
downloadllvm-227f30a515d7aff0f462bed5fffb85b11ec0bb2a.zip
llvm-227f30a515d7aff0f462bed5fffb85b11ec0bb2a.tar.gz
llvm-227f30a515d7aff0f462bed5fffb85b11ec0bb2a.tar.bz2
[flang] Clarify cases where name resolution of generic shadowing can be overridden
Fortran famously allows a generic interface definition to share a scope with a procedure or derived type of the same name. When that shadowed name is accessed via host or USE association, but is also defined by an interface in the generic, then name resolution needs to fix up the representation of the shadowing so that the new interface definition is seen as the shadowed symbol -- the host or USE associated name is not material to the situation. See the new test case for particular examples. Differential Revision: https://reviews.llvm.org/D136891
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions