[clang] [OpenMP 5.2] Deprecate syntax of map modifiers without comma separators (PR #69534)

Fazlay Rabbi via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 19 10:09:10 PDT 2023


================
@@ -1534,6 +1534,8 @@ def warn_omp51_compat_attributes : Warning<
   "standards before OpenMP 5.1">,
   InGroup<OpenMPPre51Compat>, DefaultIgnore;
 def err_omp_expected_colon : Error<"missing ':' in %0">;
+def err_omp_missing_comma : Error<
+  "missing ',' %select{after|in}0 %1">;
----------------
mdfazlay wrote:

It's for any potential future use if someone wants to customize it to reuse it. Please let me know if you want me to remove it.

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


More information about the cfe-commits mailing list