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

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 29 14:08:39 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}}
----------------
alexey-bataev wrote:

Hm,, I see in 4.2 Clause Format that it is not allowed

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


More information about the cfe-commits mailing list