Skip to content

Commit ba116a8

Browse files
kparzyszStylie777
andauthored
[flang][OpenMP] Split check-omp-structure.cpp into smaller files, NFC (#146359)
Create these new files in flang/lib/Semantics: openmp-utils.cpp/.h - Common utilities check-omp-atomic.cpp - Atomic-related checks check-omp-loop.cpp - Loop constructs/clauses check-omp-metadirective.cpp - Metadirective-related checks Update lists of included headers, std in particular. --------- Co-authored-by: Jack Styles <[email protected]>
1 parent 1a7b7e2 commit ba116a8

File tree

8 files changed

+3044
-2775
lines changed

8 files changed

+3044
-2775
lines changed

flang/lib/Semantics/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ add_flang_library(FortranSemantics
2020
check-io.cpp
2121
check-namelist.cpp
2222
check-nullify.cpp
23+
check-omp-atomic.cpp
24+
check-omp-loop.cpp
25+
check-omp-metadirective.cpp
2326
check-omp-structure.cpp
2427
check-purity.cpp
2528
check-return.cpp
@@ -34,12 +37,13 @@ add_flang_library(FortranSemantics
3437
mod-file.cpp
3538
openmp-dsa.cpp
3639
openmp-modifiers.cpp
40+
openmp-utils.cpp
3741
pointer-assignment.cpp
3842
program-tree.cpp
39-
resolve-labels.cpp
4043
resolve-directives.cpp
41-
resolve-names-utils.cpp
44+
resolve-labels.cpp
4245
resolve-names.cpp
46+
resolve-names-utils.cpp
4347
rewrite-parse-tree.cpp
4448
runtime-type-info.cpp
4549
scope.cpp

0 commit comments

Comments
 (0)