[clang] [C99] Remove the tgmath.h header (PR #135236)
Hubert Tong via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 10 14:16:33 PDT 2025
hubert-reinterpretcast wrote:
> We could add a builtin matching the GCC `__builtin_tgmath` builtin and remove our header for at least those targets, though.
Clang would either need to change its `__GNUC__` value or the glibc header would need to add a `__has_builtin` query.
Oddly enough, `__has_builtin(__builtin_tgmath)` evaluates to zero for GCC.
https://github.com/llvm/llvm-project/pull/135236
More information about the cfe-commits
mailing list