mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 17:01:00 +08:00
[ORC] Use structured binding to improve readability. NFC.
This commit is contained in:
@@ -460,8 +460,8 @@ private:
|
||||
return;
|
||||
|
||||
StrTab.resize(Strings.size());
|
||||
for (auto &KV : Strings)
|
||||
StrTab[KV.second] = {KV.first, 0};
|
||||
for (auto &[Str, Idx] : Strings)
|
||||
StrTab[Idx] = {Str, 0};
|
||||
size_t Offset = 0;
|
||||
for (auto &Elem : StrTab) {
|
||||
Elem.Offset = Offset;
|
||||
|
||||
Reference in New Issue
Block a user