================
@@ -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))
----------------
CoTinker wrote:
Good idea
https://github.com/llvm/llvm-project/pull/143297
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits