[all-commits] [llvm/llvm-project] 1bd083: [flang] Create names to allow access to inaccessib...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Jan 15 17:01:16 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1bd083b5d6d0619f532a7310e72887ea6d2e87eb
https://github.com/llvm/llvm-project/commit/1bd083b5d6d0619f532a7310e72887ea6d2e87eb
Author: peter klausler <pklausler at nvidia.com>
Date: 2021-01-15 (Fri, 15 Jan 2021)
Changed paths:
M flang/include/flang/Semantics/expression.h
M flang/include/flang/Semantics/semantics.h
M flang/include/flang/Semantics/tools.h
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/semantics.cpp
M flang/lib/Semantics/tools.cpp
A flang/test/Semantics/modfile39.f90
Log Message:
-----------
[flang] Create names to allow access to inaccessible specifics
When a reference to a generic interface occurs in a specification
expression that must be emitted to a module file, we have a problem
when the generic resolves to a function whose name is inaccessible
due to being PRIVATE or due to a conflict with another use of the
same name in the scope. In these cases, construct a new name for
the specific procedure and emit a renaming USE to the module file.
Also, relax enforcement of PRIVATE when analyzing module files.
Differential Revision: https://reviews.llvm.org/D94815
More information about the All-commits
mailing list