[all-commits] [llvm/llvm-project] bed947: [flang] Accept ENTRY names in generic interfaces
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Jan 14 15:43:40 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bed947f7081353257b78612cf8dfbd161463966c
https://github.com/llvm/llvm-project/commit/bed947f7081353257b78612cf8dfbd161463966c
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M flang/include/flang/Semantics/symbol.h
M flang/lib/Semantics/program-tree.cpp
M flang/lib/Semantics/program-tree.h
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/entry01.f90
Log Message:
-----------
[flang] Accept ENTRY names in generic interfaces
ENTRY statement names in module subprograms were not acceptable for
use as a "module procedure" in a generic interface, but should be.
ENTRY statements need to have symbols with place-holding
SubprogramNameDetails created for them in order to be visible in
generic interfaces. Those symbols are created from the "program
tree" data structure. This patch adds ENTRY statement names to the
program tree data structure and uses them to generate SubprogramNameDetails
symbols.
Differential Revision: https://reviews.llvm.org/D117345
More information about the All-commits
mailing list