[clang] [CUDA][HIP] warn incompatible redeclare (PR #77359)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 6 06:56:23 PDT 2024


yxsamliu wrote:

ping

Our users keep requesting this feature since they want their HIP code works with both nvcc and clang. I tested it with real HIP apps and did not see warnings emitted for clang wrapper headers and HIP system headers. Only warnings for users' own code were emitted. Also since this warning is off by default, it won't affect normal users.

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


More information about the cfe-commits mailing list