================
@@ -1551,7 +1551,7 @@ ASTNodeImporter::VisitCountAttributedType(const 
CountAttributedType *T) {
   Expr *CountExpr = importChecked(Err, T->getCountExpr());
 
   SmallVector<TypeCoupledDeclRefInfo, 1> CoupledDecls;
-  for (auto TI : T->dependent_decls()) {
+  for (const TypeCoupledDeclRefInfo &TI : T->dependent_decls()) {
----------------
rapidsna wrote:

Was there a reason to suggest it back to `auto` from `TypeCoupledDeclRefInfo`? 
I thought Clang prefers to have an explicit type name when the deduced type is 
not explicit from RHS.

https://github.com/llvm/llvm-project/pull/97902
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to