[clang] [OpenMP][TR12] change property of map-type modifier. (PR #90499)

via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 29 11:23:03 PDT 2024


================
@@ -113,7 +114,7 @@ struct SA {
     #pragma omp target map(b[true:true])
     {}
 
-    #pragma omp target map(: c,f) // expected-error {{missing map type}}
+    #pragma omp target map(: c,f) // lt60-error {{missing map type}}
----------------
jyu2-git wrote:

In OMP60, the map-type can be omitted.  Will be default tofrom.

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


More information about the cfe-commits mailing list