================ @@ -1724,6 +1724,10 @@ def warn_omp_invalid_attribute_for_ompx_attributes : Warning<"'ompx_attribute' c "%0 is ignored">, InGroup<OpenMPExtensions>; def err_omp_duplicate_modifier : Error<"duplicate modifier '%0' in '%1' clause">; def err_omp_expected_modifier : Error<"expected modifier in '%0' clause">; +def err_omp_unknown_need_device_ptr_modifier + : Error< + "invalid argument for 'need_device_ptr' modifier in 'adjust_args' clause. " ---------------- mdfazlay wrote:
"invalid argument for 'need_device_ptr' modifier in 'adjust_args' clause; expected 'fp_nullify' or 'fb_preserve'" - this one would probably be more consistent with the format of other error messages IMO. https://github.com/llvm/llvm-project/pull/168905 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
