Skip to content
Commit 0debbdc8 authored by Pete Cooper's avatar Pete Cooper
Browse files

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
parent 6aaad8d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment