[clang] [Sema] Fast-path simple plain auto deduction in DeduceAutoType (PR #188196)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 2 03:58:13 PDT 2026


================
@@ -5249,9 +5249,17 @@ Sema::DeduceAutoType(TypeLoc Type, Expr *Init, QualType &Result,
   // Deduce type of TemplParam in Func(Init)
   SmallVector<DeducedTemplateArgument, 1> Deduced;
   Deduced.resize(1);
-
   SmallVector<OriginalCallArg, 4> OriginalCallArgs;
----------------
zyn0217 wrote:

Please avoid unnecessary changes

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


More information about the cfe-commits mailing list