[clang] [OpenMP 5.2] New syntax for 'uses_allocators' clause (PR #157025)
Urvi Rav via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 12 00:47:22 PDT 2025
================
@@ -1497,6 +1497,11 @@ def err_omp_multiple_step_or_linear_modifier : Error<
"multiple %select{'step size'|'linear modifier'}0 found in linear clause">;
def err_omp_deprecate_old_syntax: Error<
"old syntax '%0' on '%1' clause was deprecated, use new syntax '%2'">;
+def warn_omp_deprecate_old_syntax: Warning<
+ "old syntax '%0' on '%1' clause was deprecated, use new syntax '%2'">,
+ InGroup<Deprecated>;
+def err_omp_allocator_comma_separator :
+ Error<"',' not allowed as separator in 'uses_allocators' clause, use ';' instead">;
----------------
ravurvi20 wrote:
I checked through the file to see if there’s an existing message we could reuse, but didn’t find anything relevant (using `;` instead of `,`) If that’s fine, can we move ahead with this as is?
https://github.com/llvm/llvm-project/pull/157025
More information about the cfe-commits
mailing list