Use foreach loops for StructType::elements(). NFC.
We had a few places where we did for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) { but those could instead do for (auto *EltTy : STy->elements()) { llvm-svn: 243136
Loading
Please sign in to comment