Skip to content

Commit 016d578

Browse files
committed
[clang][Tooling] Add symbol mappings for unwrap_reference_t
Tool is missing them as cppreference lists these under a section without associated headers (`Helper types`).
1 parent bd3c632 commit 016d578

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,8 @@ SYMBOL(equal_range, std::ranges::, <algorithm>)
452452
SYMBOL(lower_bound, std::ranges::, <algorithm>)
453453
SYMBOL(upper_bound, std::ranges::, <algorithm>)
454454

455+
SYMBOL(unwrap_reference_t, std::, <type_traits>)
456+
455457
// These are C symbols that are not under std namespace.
456458
SYMBOL(localtime_r, None, <ctime>)
457459
SYMBOL(localtime_r, None, <time.h>)

0 commit comments

Comments
 (0)