carlosgalvezp added a comment. LGTM, minor comments. I'm not familiar with the implementation so I'm not very confident reviewing it, would be good to get some more expert eyes on it. Tests look solid!
================ Comment at: clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp:318 +// The returned Expr* is nullptr if any of the assumptions are not met. +static const std::tuple<const Expr *, StringRef, bool> +getContainerExpr(const Expr *Call) { ---------------- Remove `const`, it's unused. ================ Comment at: clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp:324 + const auto *Member = dyn_cast<MemberExpr>(TheCall->getCallee()); + if (!Member) { + return std::make_tuple(TheCall->getArg(0), ---------------- `if (const auto *Member = ...)` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140760/new/ https://reviews.llvm.org/D140760 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits