[clang] [clang][Sema] Improve template argument deduction diagnostic (PR #122754)

Aidan Goldfarb via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 11 10:15:09 PDT 2025


AidanGoldfarb wrote:

> If you can't, or otherwise this new signature doesn't make sense for the pre-existing callers, you should create a new result kind instead.

You propose creating a new result kind for [this user](https://github.com/AidanGoldfarb/llvm-project/blob/main/clang/lib/Sema/SemaTemplateDeduction.cpp#L4567C11-L4567C68)? This is the one that seems improperly named to me. Would something like `InvalidExplicitObject` be better here? 




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


More information about the cfe-commits mailing list