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

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 19 10:58:44 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; "
----------------
Artem-B wrote:

Target attribute?


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


More information about the cfe-commits mailing list