llvm-project/flang/lib
Peter Klausler b67984d356 [flang] Handle module subprogram with interface in same (sub)module when writing module file
There's a few (3) cases where Fortran allows two distinct symbols to have
the same name in the same scope.  Module file output copes with only two of
them.  The third involves a separate module procedure that isn't separate:
both the procedure and its declared interface appear in the same (sub)module.
Fix to ensure that the interface is included in the module file output, so
that the module file reader doesn't suffer a bogus error about a "separate
module procedure without an interface".

Differential Revision: https://reviews.llvm.org/D127784
2022-06-16 10:08:41 -07:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal [flang][runtime] Use __float128 where possible & needed in runtime 2022-06-05 09:16:57 -07:00
Evaluate [flang] Fix error message 2022-06-15 15:30:14 -07:00
Frontend [flang][driver] Make `flang-new -fc1` accept MLIR files 2022-06-10 10:58:54 +00:00
FrontendTool [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00
Lower [flang] Support PDT declaration with initial comp value in internal procedure 2022-06-14 14:46:12 +02:00
Optimizer [flang][NFC] Fix some formatting 2022-06-15 16:49:02 +02:00
Parser [flang][OpenMP] Added parser support for in_reduction clause 2022-06-06 14:55:27 +05:30
Semantics [flang] Handle module subprogram with interface in same (sub)module when writing module file 2022-06-16 10:08:41 -07:00
CMakeLists.txt [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00