[clang] [OpenMP] Allow OMP6.0 features. (PR #122108)

Saiyedul Islam via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 13 04:52:37 PST 2025


================
@@ -1,10 +1,10 @@
-// RUN: %clang_cc1 -verify -triple x86_64-apple-darwin10 -fopenmp -emit-llvm -o - %s | FileCheck %s
-// RUN: %clang_cc1 -fopenmp -triple x86_64-apple-darwin10 -x c++ -std=c++11 -emit-pch -o %t %s
-// RUN: %clang_cc1 -fopenmp -triple x86_64-apple-darwin10 -std=c++11 -include-pch %t -verify %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -verify -triple x86_64-apple-darwin10 -fopenmp -fopenmp-version=50 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -fopenmp -fopenmp-version=50 -triple x86_64-apple-darwin10 -x c++ -std=c++11 -emit-pch -o %t %s
----------------
saiislam wrote:

This is changing the test case from testing default (ver 5.1) to ver 5.0. If there is a divergence, please add a RUN and CHECK lines while guarding divergent lines.

https://github.com/llvm/llvm-project/pull/122108


More information about the cfe-commits mailing list