[clang] 016d578 - [clang][Tooling] Add symbol mappings for unwrap_reference_t
Kadir Cetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 2 01:31:03 PDT 2025
Author: Kadir Cetinkaya
Date: 2025-06-02T10:30:00+02:00
New Revision: 016d57804ad6ee8012a5fdf1700c938ef3b7baf0
URL: https://github.com/llvm/llvm-project/commit/016d57804ad6ee8012a5fdf1700c938ef3b7baf0
DIFF: https://github.com/llvm/llvm-project/commit/016d57804ad6ee8012a5fdf1700c938ef3b7baf0.diff
LOG: [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`).
Added:
Modified:
clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
Removed:
################################################################################
diff --git a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
index 44ad4a0d96844..a2c12007134d6 100644
--- a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
+++ b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
@@ -452,6 +452,8 @@ SYMBOL(equal_range, std::ranges::, <algorithm>)
SYMBOL(lower_bound, std::ranges::, <algorithm>)
SYMBOL(upper_bound, std::ranges::, <algorithm>)
+SYMBOL(unwrap_reference_t, std::, <type_traits>)
+
// These are C symbols that are not under std namespace.
SYMBOL(localtime_r, None, <ctime>)
SYMBOL(localtime_r, None, <time.h>)
More information about the cfe-commits
mailing list