Skip to content

Commit 9a2a82d

Browse files
committed
review: use llvm:sort
1 parent 88fccae commit 9a2a82d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,8 +1156,8 @@ bool SemaHLSL::handleRootSignatureElements(
11561156
}
11571157

11581158
// 2. Sort with the RangeInfo <operator to prepare it for findOverlapping
1159-
std::sort(InfoPairs.begin(), InfoPairs.end(),
1160-
[](InfoPairT A, InfoPairT B) { return A.first < B.first; });
1159+
llvm::sort(InfoPairs,
1160+
[](InfoPairT A, InfoPairT B) { return A.first < B.first; });
11611161

11621162
llvm::SmallVector<RangeInfo> Infos;
11631163
for (const InfoPairT &Pair : InfoPairs)

0 commit comments

Comments
 (0)