[clang] default clause replaced by otherwise clause for metadirective in OpenMP 5.2 (PR #128640)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 24 08:56:12 PDT 2025
================
@@ -78,10 +78,7 @@ void foo(void) {
for (int i = 0; i < 16; i++)
;
-#pragma omp metadirective when(user = {condition(0)} \
- : parallel for) otherwise()
- for (int i=0; i<10; i++)
- ;
+
----------------
alexey-bataev wrote:
Why moved the test cases? and why a guard is required?
https://github.com/llvm/llvm-project/pull/128640
More information about the cfe-commits
mailing list