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

Justin Fargnoli via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 20 16:01:45 PST 2025


================
@@ -777,6 +780,7 @@ clang::MakeDeductionFailureInfo(ASTContext &Context,
   case TemplateDeductionResult::IncompletePack:
     // FIXME: It's slightly wasteful to allocate two TemplateArguments for this.
   case TemplateDeductionResult::Inconsistent:
+
----------------
justinfargnoli wrote:

```suggestion
```

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


More information about the cfe-commits mailing list