llvm-project/flang/lib/Evaluate
Peter Klausler 44bc97c834 [flang] Adjust names in Semantics that imply too much (NFC)
Some kinds of Fortran arrays are declared with the same syntax,
and it is impossible to tell from a shape (:, :) or (*) whether
the object is assumed shape, deferred shape, assumed size, implied
shape, or whatever without recourse to more information about the
symbol in question.  This patch softens the names of some predicate
functions (IsAssumedShape to CanBeAssumedShape) and makes others
more reflective of the syntax they represent (isAssumed to isStar)
in an attempt to encourage coders to seek and find definitive
predicate functions whose names deliver what they seem to mean.

Address TODO comments in IsSimplyContiguous() by using the
updated IsAssumedShape() predicate.

Differential Revision: https://reviews.llvm.org/D114829
2021-12-01 11:19:19 -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] Adjust names in Semantics that imply too much (NFC) 2021-12-01 11:19:19 -08:00
check-expression.cpp [flang] Adjust names in Semantics that imply too much (NFC) 2021-12-01 11:19:19 -08: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] Adjust names in Semantics that imply too much (NFC) 2021-12-01 11:19:19 -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] Adjust names in Semantics that imply too much (NFC) 2021-12-01 11:19:19 -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