We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67391fc commit 2b81e9eCopy full SHA for 2b81e9e
llvm/lib/ExecutionEngine/Orc/Core.cpp
@@ -713,12 +713,7 @@ JITDylib::defineMaterializing(MaterializationResponsibility &FromMR,
713
std::vector<NonOwningSymbolStringPtr> AddedSyms;
714
std::vector<NonOwningSymbolStringPtr> RejectedWeakDefs;
715
716
- for (auto SFItr = SymbolFlags.begin(), SFEnd = SymbolFlags.end();
717
- SFItr != SFEnd; ++SFItr) {
718
-
719
- auto &Name = SFItr->first;
720
- auto &Flags = SFItr->second;
721
+ for (auto &[Name, Flags] : SymbolFlags) {
722
auto EntryItr = Symbols.find(Name);
723
724
// If the entry already exists...
0 commit comments