llvm-project/flang/lib
Peter Steinfeld 8b550af7a9 [flang] Handle structure constructors with forward references to PDTs
We were not correctly handling structure constructors that had forward
references to parameterized derived types.  I harvested the code that checks
for forward references that was used during analysis of function call
expressions and called it from there and also called it during the
analysis of structure constructors.

I also added a test that will produce an internal error without this change.

Differential Revision: https://reviews.llvm.org/D101330
2021-04-27 12:46:05 -07:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal [flang] Fix MSVC build breakage 2021-04-02 08:28:48 -07:00
Evaluate [flang] Fix spurious errors from runtime derived type table construction 2021-04-22 09:43:51 -07:00
Frontend [flang][driver] Fine-tune `-fdebug-dump-symbols` 2021-04-26 09:20:50 +00:00
FrontendTool [flang][driver] Add support for `-fget-definition` 2021-04-21 09:31:36 +00:00
Lower [flang] iwyu fixes after ba7a92c01e 2021-04-21 11:10:45 -04:00
Optimizer [flang] iwyu fixes after ba7a92c01e 2021-04-21 11:10:45 -04:00
Parser [flang] Fix crash from -DMACRO= with empty replacement 2021-04-24 10:56:25 -07:00
Semantics [flang] Handle structure constructors with forward references to PDTs 2021-04-27 12:46:05 -07:00
CMakeLists.txt [flang] Remove `LINK_WITH_FIR` cmake switch 2021-02-11 22:52:13 +05:30