[clang] 15958f2 - [clang][Stdlib] Add special mapping for std::compare_three_way

Kadir Cetinkaya via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 17 01:31:20 PST 2025


Author: Kadir Cetinkaya
Date: 2025-11-17T10:30:52+01:00
New Revision: 15958f2f9bc9af05316352ea07470bbf6fa3d49d

URL: https://github.com/llvm/llvm-project/commit/15958f2f9bc9af05316352ea07470bbf6fa3d49d
DIFF: https://github.com/llvm/llvm-project/commit/15958f2f9bc9af05316352ea07470bbf6fa3d49d.diff

LOG: [clang][Stdlib] Add special mapping for std::compare_three_way

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 a2c12007134d6..c5b022e87ec33 100644
--- a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
+++ b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
@@ -13,6 +13,9 @@ SYMBOL(consume_header, std::, <codecvt>)
 SYMBOL(generate_header, std::, <codecvt>)
 SYMBOL(little_endian, std::, <codecvt>)
 
+SYMBOL(compare_three_way, std::, <compare>)
+SYMBOL(compare_three_way, std::, <functional>)
+
 SYMBOL(mbstate_t, std::, <cwchar>)
 SYMBOL(mbstate_t, std::, <cuchar>)
 SYMBOL(size_t, std::, <cstddef>)


        


More information about the cfe-commits mailing list