Skip to content

Commit 68daf7d

Browse files
authored
[Tooling/Inclusion] Add binary search related std::ranges symbols to the mapping. (#113796)
Fixes #94459. This patch adds binary search related `std::ranges` symbols to the mapping.
1 parent e6e0463 commit 68daf7d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,11 @@ SYMBOL(any_cast, std::, <any>)
367367
SYMBOL(div, std::, <cstdlib>)
368368
SYMBOL(abort, std::, <cstdlib>)
369369

370+
SYMBOL(binary_search, std::ranges::, <algorithm>)
371+
SYMBOL(equal_range, std::ranges::, <algorithm>)
372+
SYMBOL(lower_bound, std::ranges::, <algorithm>)
373+
SYMBOL(upper_bound, std::ranges::, <algorithm>)
374+
370375
// These are C symbols that are not under std namespace.
371376
SYMBOL(localtime_r, None, <ctime>)
372377
SYMBOL(localtime_r, None, <time.h>)

0 commit comments

Comments
 (0)