gcc/libstdc++-v3/include/tr2
Jonathan Wakely 5fb204aaf3 libstdc++: Guard tr2::bases and tr2::direct_bases with __has_builtin
These non-standard extensions use GCC-specific built-ins. Use
__has_builtin to avoid errors when Clang compiles this header.

See https://github.com/llvm/llvm-project/issues/24289

libstdc++-v3/ChangeLog:

	* include/tr2/type_traits (bases, direct_bases): Use
	__has_builtin to check if required built-ins are supported.
2024-02-08 15:58:14 +00:00
..
bool_set Update copyright years. 2024-01-03 12:19:35 +01:00
bool_set.tcc Update copyright years. 2024-01-03 12:19:35 +01:00
dynamic_bitset Update copyright years. 2024-01-03 12:19:35 +01:00
dynamic_bitset.tcc Update copyright years. 2024-01-03 12:19:35 +01:00
ratio Update copyright years. 2024-01-03 12:19:35 +01:00
type_traits libstdc++: Guard tr2::bases and tr2::direct_bases with __has_builtin 2024-02-08 15:58:14 +00:00