[Bitcode] Use range-based for loops (NFC) (#97776)
This commit is contained in:
1 parent
9abb574f9a
commit
40c12648c6
3 files changed
+14
-15
No files matched your search
@@ -1988,8 +1988,8 @@ Error BitcodeReader::parseAttributeBlock() {
|
||||
Attrs.clear();
|
||||
break;
|
||||
case bitc::PARAMATTR_CODE_ENTRY: // ENTRY: [attrgrp0, attrgrp1, ...]
|
||||
for (unsigned i = 0, e = Record.size(); i != e; ++i)
|
||||
Attrs.push_back(MAttributeGroups[Record[i]]);
|
||||
for (uint64_t Val : Record)
|
||||
Attrs.push_back(MAttributeGroups[Val]);
|
||||
|
||||
MAttributes.push_back(AttributeList::get(Context, Attrs));
|
||||
Attrs.clear();
|
||||
|
||||
Reference in new issue
Block a user