Semantic check for OpenMP 4.5 - 2.7.1 Do Loop restrictions on single directive and firstprivate clause.
Files:
check-directive-structure.h
check-omp-structure.h
check-omp-structure.cpp
Testcases:
omp-do01.f90
omp-do05.f90
|  Differential  D93205  
[Flang][OpenMP 4.5] Add semantic check for OpenMP Do Loop Constructs for single directive Authored by yhegde on Dec 14 2020, 4:24 AM. 
Details Semantic check for OpenMP 4.5 - 2.7.1 Do Loop restrictions on single directive and firstprivate clause. Files: Testcases: 
Diff Detail 
 Event Timeline
 
 Comment Actions Why are you changing the tests while removing XFAIL? eg. omp-do05.f90 was supposed to check chunk_size. 
 
 Comment Actions The chunk_size is checked and committed. (https://reviews.llvm.org/D89546) . We found this as a duplicate test case committed earlier by us with XFAIL so thought of re using it. Same with omp-do01.f90 also . Collapse and Ordered with loop levels is already checked and committed. (https://reviews.llvm.org/D89860) Hence we thought of reusing it. 
 
 
 
 
 
 Comment Actions Looks mostly OK. Just one issue (FindEnclosingDirContext) to take a decision. 
 Comment Actions 
 
 
 
 
 
 
 
 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Maybe add a blank line here to keep with the style of this file?