Skip to content

Commit 4c5b3ce

Browse files
committed
add missing visitor for OmpMetadirectiveDirective
1 parent 078ab71 commit 4c5b3ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flang/lib/Lower/OpenMP/OpenMP.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,9 @@ extractOmpDirective(const parser::OpenMPConstruct &ompConstruct) {
413413
[](const parser::OpenMPCancellationPointConstruct &c) {
414414
return llvm::omp::OMPD_cancellation_point;
415415
},
416+
[](const parser::OmpMetadirectiveDirective &c) {
417+
return llvm::omp::OMPD_metadirective;
418+
},
416419
[](const parser::OpenMPDepobjConstruct &c) {
417420
return llvm::omp::OMPD_depobj;
418421
}},

0 commit comments

Comments
 (0)