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 c5d8bf7 commit 848336dCopy full SHA for 848336d
llvm/lib/ExecutionEngine/Orc/Core.cpp
@@ -1353,7 +1353,7 @@ void JITDylib::addToLinkOrder(const JITDylibSearchOrder &NewLinks) {
1353
ES.runSessionLocked([&]() {
1354
for (auto &KV : NewLinks) {
1355
// Skip elements of NewLinks that are already in the link order.
1356
- if (llvm::find(LinkOrder, KV) != LinkOrder.end())
+ if (llvm::is_contained(LinkOrder, KV))
1357
continue;
1358
1359
LinkOrder.push_back(std::move(KV));
0 commit comments