llvm-project/flang/lib/Evaluate
Peter Klausler 196204c72c [flang] Fix usage & catch errors for MAX/MIN with keyword= arguments
Max(), MIN(), and their specific variants are defined with an unlimited
number of dummy arguments named A1=, A2=, &c. whose names are almost never
used in practice but should be allowed for and properly checked for the
usual errors when they do appear.  The intrinsic table's entries otherwise
have fixed numbers of dummy argument definitions, so add some special
case handling in a few spots for MAX/MIN/&c. checking and procedure
characteristics construction.

Differential Revision: https://reviews.llvm.org/D114750
2021-11-30 12:53:47 -08:00
..
CMakeLists.txt [flang] Improve runtime interface with C99 complex 2021-10-01 08:45:24 +02:00
call.cpp [flang][NFC] Address warnings from Windows build 2021-10-12 16:00:09 -07:00
character.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
characteristics.cpp [flang] Allow implicit procedure pointers to associate with explicit procedures 2021-11-15 09:51:25 -08:00
check-expression.cpp [flang] Return true in IsSymplyContiguous for allocatables 2021-11-29 08:28:26 +01:00
common.cpp [flang] Add isnan() extension intrinsic function, with folding 2020-11-11 11:40:57 -08:00
complex.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
constant.cpp [flang] Fix ORDER= argument to RESHAPE 2021-11-12 10:25:00 -08:00
expression.cpp [flang] Revert 3 commits pushed by mistake along b7c07ce15f 2021-10-01 09:01:31 +02:00
fold-character.cpp [flang] Fold MAXLOC and MINLOC 2021-10-05 11:22:02 -07:00
fold-complex.cpp [flang] Fold CSHIFT 2021-08-30 13:01:56 -07:00
fold-designator.cpp [flang] (NFC) Expose internal idiom as utility API 2021-05-13 11:19:37 -07:00
fold-implementation.h [flang] Fold SPREAD 2021-10-28 14:10:16 -07:00
fold-integer.cpp [flang] Fix combined folding of FINDLOC/MAXLOC/MINLOC 2021-10-29 11:00:11 -07:00
fold-logical.cpp [flang] Fold BTEST 2021-10-18 13:46:46 -07:00
fold-real.cpp [flang] Define IEEE_SCALB, IEEE_NEXT_AFTER, IEEE_NEXT_DOWN, IEEE_NEXT_UP 2021-10-06 12:10:14 -07:00
fold-reduction.cpp [flang] Fold FINDLOC() 2021-09-30 12:08:10 -07:00
fold-reduction.h [flang] Fold MAXLOC and MINLOC 2021-10-05 11:22:02 -07:00
fold.cpp [flang] Fix classification of shape inquiries in specification exprs 2021-01-13 10:05:14 -08:00
formatting.cpp [flang] Validate SIZE(x,DIM=n) dimension for assumed-size array x 2021-09-17 10:14:18 -07:00
host.cpp [flang] Fix setting mxcsr on MSVC 2020-07-08 07:25:25 -05:00
host.h [flang] Rework host runtime folding and enable REAL(2) folding with it. 2020-10-14 16:40:44 +02:00
initial-image.cpp [flang] Include default component initialization in static initializers 2021-09-01 09:40:37 -07:00
int-power.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
integer.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
intrinsics-library.cpp [flang] evaluate: Fold SQRT, HYPOT, & CABS 2021-09-07 10:33:11 -07:00
intrinsics.cpp [flang] Fix usage & catch errors for MAX/MIN with keyword= arguments 2021-11-30 12:53:47 -08:00
logical.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
real.cpp [flang] Fix test regression from SQRT folding 2021-09-30 11:35:44 -07:00
shape.cpp [flang] Don't reference non-invariant symbols in shape expressions 2021-11-08 12:48:47 -08:00
static-data.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
tools.cpp [flang] Address TODO from previous changes to IsSaved() 2021-11-30 10:39:51 -08:00
type.cpp [flang] [NFC] Repair build with GCC 7.3 2021-06-22 13:52:30 -07:00
variable.cpp [flang] Deal with negative character lengths in semantics 2021-11-17 09:49:15 -08:00