[clang] [CUDA][HIP] warn incompatible redeclare (PR #77359)
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 7 09:27:45 PDT 2024
================
@@ -9013,6 +9013,12 @@ def err_cuda_ovl_target : Error<
"cannot overload %select{__device__|__global__|__host__|__host__ __device__}2 function %3">;
def note_cuda_ovl_candidate_target_mismatch : Note<
"candidate template ignored: target attributes do not match">;
+def warn_offload_incompatible_redeclare : Warning<
----------------
yxsamliu wrote:
will document it
https://github.com/llvm/llvm-project/pull/77359
More information about the cfe-commits
mailing list