[clang] [Clang][HIP] Suppress availability diagnostics for mismatched host/device overloads (PR #93546)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 5 10:01:37 PDT 2024


yxsamliu wrote:

> Ping.

You situation is similar to overloading resolution of functions called in global variable initializer. You may consider using a similar approach as https://reviews.llvm.org/D158247

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


More information about the cfe-commits mailing list