================ @@ -2253,6 +2260,53 @@ static void DiagnoseNonTriviallyCopyableReason(Sema &SemaRef, } } +static void DiagnoseNonConstructibleReason( + Sema &SemaRef, SourceLocation Loc, + const llvm::SmallVector<clang::QualType, 1> &Ts) { + for (const auto &ArgTy : Ts) { ---------------- erichkeane wrote:
```suggestion for (const QualType &ArgTy : Ts) { ``` https://github.com/llvm/llvm-project/pull/143309 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits