[clang] [clang][CUDA] Avoid ambiguity in host/device template specializations (PR #201049)
Steffen Larsen via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 2 05:48:54 PDT 2026
================
@@ -598,6 +598,10 @@ Improvements to Clang's diagnostics
- Clang now rejects inline asm constraints and clobbers that contain an
embedded null character, instead of silently truncating them. (#GH173900)
+- Fixed false positive for host-device ambiguities in CUDA/HIP when retrieving
+ the address of specializations of templated functions that have overloads for
+ both host and device. (#GH199299)
+
----------------
steffenlarsen wrote:
Good shout. It has been moved and slightly reworded.
https://github.com/llvm/llvm-project/pull/201049
More information about the cfe-commits
mailing list