Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Flang][OpenMP] Added TODO checks for unsupported map types
This patch adds TODO checks for unspported types in the map clause for OpenMP Target directives. Example of unsupported code: implicit none character(len=10) :: str1, str2(5,5) type t character(len=10) :: str1, str2(5,5) end type t type(t) :: v !$omp target enter data map(to: str2(2,5)) !$omp target enter data map(to: v%str1) !$omp target enter data map(to: v%str2) !$omp target enter data map(to: v%str2(1,2)) end Differential Revision: https://reviews.llvm.org/D146292
- Loading branch information
Showing
1 changed file
with
19 additions
and
2 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