diff options
author | Andre Kuhlenschmidt <andre.kuhlenschmidt@gmail.com> | 2025-07-18 13:50:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-18 13:50:09 -0700 |
commit | abdd4536ce0fc75c7a4ddcc1da5913ec5e028091 (patch) | |
tree | f120437804c357ddec40385373621b3c5061309b /llvm/lib/Support/StringMap.cpp | |
parent | b6ea04a37b2a41e24bb999e5a9b6a7bd2b576085 (diff) | |
download | llvm-abdd4536ce0fc75c7a4ddcc1da5913ec5e028091.zip llvm-abdd4536ce0fc75c7a4ddcc1da5913ec5e028091.tar.gz llvm-abdd4536ce0fc75c7a4ddcc1da5913ec5e028091.tar.bz2 |
[flang][openacc] fix bugs with default(none) checking (#149220)
A report of the following code not generating an error led to fixing two bugs in directive checking.
- We should treat CombinedConstructs as OpenACC Constructs
- We should treat DoConstruct index variables as private.
```fortran
subroutine sub(nn)
integer :: nn, ii
!$acc serial loop default(none)
do ii = 1, nn
end do
!$acc end serial loop
end subroutine
```
Here `nn` should be flagged as needing a data clause while `ii` should
still get one implicitly.
Diffstat (limited to 'llvm/lib/Support/StringMap.cpp')
0 files changed, 0 insertions, 0 deletions