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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
flang/include/flang/Semantics/tools.h | ||
---|---|---|
41 | This is only used in a boolean context, so it could be something like bool IsInModFile(const Scope &). |
This is only used in a boolean context, so it could be something like bool IsInModFile(const Scope &).