[NFC] Use llvm::includes instead of std::includes (#143542)

This PR follows up #143297.
This commit is contained in:
Longsheng Mou
2025-06-12 09:27:27 +08:00
committed by GitHub
parent c431618041
commit 52360d195b
7 changed files with 11 additions and 18 deletions

View File

@@ -1308,7 +1308,7 @@ getMappedRanges(ArrayRef<Range> Indexed, ArrayRef<SymbolRange> Lexed) {
return std::nullopt;
}
// Fast check for the special subset case.
if (std::includes(Indexed.begin(), Indexed.end(), Lexed.begin(), Lexed.end()))
if (llvm::includes(Indexed, Lexed))
return Lexed.vec();
std::vector<size_t> Best;