aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-09-21 12:03:54 -0700
committerPeter Klausler <pklausler@nvidia.com>2022-09-23 10:56:24 -0700
commit811aafcbf57e2933982b978492f2a5367c3a9f99 (patch)
tree7915ab01e78771fafb5a21b75ed5302509827e84 /clang/lib/Frontend/CompilerInvocation.cpp
parent465ec4e0b48c005f5d5de8adee0c33469a7b9862 (diff)
downloadllvm-811aafcbf57e2933982b978492f2a5367c3a9f99.zip
llvm-811aafcbf57e2933982b978492f2a5367c3a9f99.tar.gz
llvm-811aafcbf57e2933982b978492f2a5367c3a9f99.tar.bz2
[flang] Don't resolve names in derived type definitions to generics
There's code in name resolution that handles resolution of references that appear in the definitions of derived types -- it checks for existing components in the type being defined, as well as for non-parent components in its ancestors. Special case code prevents resolution of a name to the symbol of a procedure binding. This code needs to be extended so that names of generic procedures are similarly prevented from shadowing symbols in the scope around the type. Differential Revision: https://reviews.llvm.org/D134398
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions