[clang] [Clang][HIP] Target-dependent overload resolution in declarators and specifiers (PR #103031)

Fabian Ritter via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 19 23:50:55 PDT 2024


================
@@ -9017,6 +9017,10 @@ def err_global_call_not_config : Error<
 def err_ref_bad_target : Error<
   "reference to %select{__device__|__global__|__host__|__host__ __device__}0 "
   "%select{function|variable}1 %2 in %select{__device__|__global__|__host__|__host__ __device__}3 function">;
+def warn_target_specfier_ignored : Warning<
+  "target specifier has been ignored for overload resolution; "
----------------
ritter-x2a wrote:

Addressed in e273a996854cb3256cfeed832c3f16ff6fd0f534, thank you for the feedback!

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


More information about the cfe-commits mailing list