[clang] [clang][Sema][CUDA] Restrict immediate template resolution to host-device functions (PR #200662)

Weibo He via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 9 05:59:28 PDT 2026


NewSigma wrote:

> Thanks for reducing the test. I still do not see a conversion function template case here. `operator=` covers the method-template path, but `AddTemplateConversionCandidate` is for conversion functions such as `template <class T> operator T()`. Could you add one small case for that path, or point me to the part of this test that is meant to cover it?

Ah, I misunderstood it. A case is provided for that path now.

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


More information about the cfe-commits mailing list