https://github.com/zwuis commented:

While we are here, could you handle the case that `u` has initializer?

---

> So, should I leave it as `Type->isUndeducedType()`  and find another 
> condition to force calling `Sema::DeduceVariableDeclarationType`  (so as to 
> call `deduceVarTypeFromInitializer` to hit the place where we handle `E`, `U`)

I'm not familiar enough with this part of code. Please wait for other reviewers.

https://github.com/llvm/llvm-project/pull/174281
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to