-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Create HostAssocDetails symbols when needed for mis-parsed Ar…
…rayRef 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
- Loading branch information
1 parent
0c1a773
commit c2d4d6a
Showing
2 changed files
with
50 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters