llvm-project/flang/lib
peter klausler 0fcda9ae57 [flang] Admit NULL() in generic procedure resolution cases
Semantics is rejecting valid programs with NULL() actual arguments
to generic interfaces, including user-defined operators.  Subclause
16.9.144(para 6) makes clear that NULL() can be a valid actual
argument to a generic interface so long as it does not produce
ambiguity.  This patch handles those cases, revises existing
tests, and adjust an error message about NULL() operands to
appear less like a blanket prohibition.

Differential Revision: https://reviews.llvm.org/D111850
2021-10-14 16:02:17 -07:00
..
Common
Decimal [flang] runtime: For Fw.d formatting, don't oscillate forever 2021-08-04 12:19:23 -07:00
Evaluate [flang] Admit NULL() in generic procedure resolution cases 2021-10-14 16:02:17 -07:00
Frontend [flang][driver] Add actions that execute despite semantic errors 2021-10-11 11:52:05 +00:00
FrontendTool [flang][driver] Add support for Frontend Plugins 2021-08-12 11:42:16 +01:00
Lower [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
Optimizer [fir] Add the DoLoopHelper 2021-10-13 21:48:45 +02:00
Parser Added OpenMP 5.0 specification based semantic checks for CRITICAL construct name resolution 2021-10-12 22:18:24 +05:30
Semantics [flang] Admit NULL() in generic procedure resolution cases 2021-10-14 16:02:17 -07:00
CMakeLists.txt [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00