Skip to content

Commit 47c76e7

Browse files
[SPIRV] Use llvm::find (NFC)
1 parent a0b459d commit 47c76e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ void SPIRV::RequirementHandler::pruneCapabilities(
410410
const CapabilityList &ToPrune) {
411411
for (const auto &Cap : ToPrune) {
412412
AllCaps.insert(Cap);
413-
auto FoundIndex = std::find(MinimalCaps.begin(), MinimalCaps.end(), Cap);
413+
auto FoundIndex = llvm::find(MinimalCaps, Cap);
414414
if (FoundIndex != MinimalCaps.end())
415415
MinimalCaps.erase(FoundIndex);
416416
CapabilityList ImplicitDecls =

0 commit comments

Comments
 (0)