Skip to content

Commit 848336d

Browse files
[ExecutionEngine] Use llvm::is_contained (NFC)
1 parent c5d8bf7 commit 848336d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/ExecutionEngine/Orc/Core.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ void JITDylib::addToLinkOrder(const JITDylibSearchOrder &NewLinks) {
13531353
ES.runSessionLocked([&]() {
13541354
for (auto &KV : NewLinks) {
13551355
// Skip elements of NewLinks that are already in the link order.
1356-
if (llvm::find(LinkOrder, KV) != LinkOrder.end())
1356+
if (llvm::is_contained(LinkOrder, KV))
13571357
continue;
13581358

13591359
LinkOrder.push_back(std::move(KV));

0 commit comments

Comments
 (0)