[clang] [analyzer][NFC] Modernize loops in LiveVariables analysis (PR #157670)
Balazs Benics via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 9 07:06:33 PDT 2025
================
@@ -90,8 +90,8 @@ namespace {
if (A.isEmpty())
return B;
- for (typename SET::iterator it = B.begin(), ei = B.end(); it != ei; ++it) {
- A = A.add(*it);
+ for (const auto &element : B) {
----------------
steakhal wrote:
Fixed in 1f10c7c79d73.
https://github.com/llvm/llvm-project/pull/157670
More information about the cfe-commits
mailing list