llvm-project/flang/lib/Evaluate
Peter Klausler ca2be81e34 [flang] Fix Symbol::Rank for ProcEntityDetails
When a procedure pointer or procedure dummy argument has a
defined interface, the rank of the pointer (or dummy) is the
rank of the interface.

Also tweak code discovered in shape analysis when investigating
this problam so that it returns a vector of emptied extents rather
than std::nullopt when the extents are not scope-invariant, so that
the rank can at least be known.

Differential Revision: https://reviews.llvm.org/D123727
2022-04-15 09:54:48 -07:00
..
CMakeLists.txt [flang] Improve runtime interface with C99 complex 2021-10-01 08:45:24 +02:00
call.cpp Revert "[flang] Add & use a better visit()" 2022-03-28 10:46:47 +00:00
character.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
characteristics.cpp Revert "[flang] Add & use a better visit()" 2022-03-28 10:46:47 +00:00
check-expression.cpp [flang] Fold instantiated PDT character component length when needed 2022-04-04 09:47:15 +02:00
common.cpp [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
complex.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
constant.cpp [flang] LBOUND() edge case: empty dimension 2022-03-14 11:16:09 -07:00
expression.cpp Revert "[flang] Add & use a better visit()" 2022-03-28 10:46:47 +00:00
fold-character.cpp [flang] Fold SCALE() 2022-01-15 09:31:00 -08:00
fold-complex.cpp [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
fold-designator.cpp [flang] Do not ICE on out-of-range data statement designator 2022-04-14 12:51:55 +03:00
fold-implementation.h Revert "[flang] Add & use a better visit()" 2022-03-28 10:46:47 +00:00
fold-integer.cpp [flang] Fold IBITS() intrinsic function 2022-04-13 17:06:14 -07:00
fold-logical.cpp Revert "[flang] Add & use a better visit()" 2022-03-28 10:46:47 +00:00
fold-real.cpp [flang] Fold NEAREST() and its relatives 2022-03-28 11:33:40 -07:00
fold-reduction.cpp [flang] Fold FINDLOC() 2021-09-30 12:08:10 -07:00
fold-reduction.h [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
fold.cpp Revert "[flang] Add & use a better visit()" 2022-03-28 10:46:47 +00:00
formatting.cpp Revert "[flang] Add & use a better visit()" 2022-03-28 10:46:47 +00:00
host.cpp [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
host.h [flang] Fix/work around warnings from GCC 11 2022-02-01 11:54:04 -08:00
initial-image.cpp [flang] Allow DATA initialization of derived types w/ allocatable components 2022-02-14 10:43:49 -08: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] Support extension intrinsic function variations on ABS 2022-01-13 17:10:44 -08:00
intrinsics.cpp [flang] Fix shape analysis of RESHAPE result 2022-04-14 12:07:48 -07:00
logical.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
real.cpp [flang] Fix float-number representation bug 2022-04-14 21:28:30 +08:00
shape.cpp [flang] Fix Symbol::Rank for ProcEntityDetails 2022-04-15 09:54:48 -07:00
static-data.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
tools.cpp [flang] add evaluate::IsAllocatableDesignator helper 2022-04-01 22:34:19 +02:00
type.cpp Revert "[flang] Add & use a better visit()" 2022-03-28 10:46:47 +00:00
variable.cpp Revert "[flang] Add & use a better visit()" 2022-03-28 10:46:47 +00:00