llvm-project/flang/lib
Jean Perier c2d4d6a1fd [flang] Create HostAssocDetails symbols when needed for mis-parsed ArrayRef
Name resolution is always creating symbols with HostAssocDetails
for host variable names inside internal procedures. This helps lowering
identifying and dealing with such variables inside internal procedures.

However, the case where the variable appears in an ArrayRef mis-parsed
as a FunctionRef goes through a different name resolution path that did
not create such HostAssocDetails when needed. Pointer assignment RHS
are also skipping this path.

Add the logic to create HostAssocDetails for host symbols inisde internal
procedures that appear in mis-parsed ArrayRef or in pointer assignment RHS.

Differential Revision: https://reviews.llvm.org/D105464
2021-07-07 10:07:19 +02: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 conformability for intrinsic procedures 2021-06-28 11:09:24 -07:00
Frontend [flang][driver] Extend the `flang` bash script to act as a driver 2021-07-01 13:56:38 +01:00
FrontendTool [flang] Revert "PoC for Flang Driver Plugins" 2021-07-01 08:27:31 +00:00
Lower [flang] Add clang-tidy check for braces around if 2021-06-16 09:13:53 +00:00
Optimizer Fix flang build after D104167 2021-06-23 18:18:54 +00:00
Parser [flang] Allow large and erroneous ac-implied-do's 2021-05-11 10:04:18 -07:00
Semantics [flang] Create HostAssocDetails symbols when needed for mis-parsed ArrayRef 2021-07-07 10:07:19 +02:00
CMakeLists.txt [flang] Remove `LINK_WITH_FIR` cmake switch 2021-02-11 22:52:13 +05:30