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

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 30 08:00:52 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:

All those can be omitted, but error is needed for empty modifier-list?


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


More information about the cfe-commits mailing list