diff options
| author | Mital Ashok <mital@mitalashok.co.uk> | 2024-08-18 10:50:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-18 13:50:42 +0400 |
| commit | 11259343593043c77678b59d420159fcd147a858 (patch) | |
| tree | c9a4db29650b8d3c7709c4f8c8393988f2151c08 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface | |
| parent | dac182990dabe8d15cfb8079aba68df2ded015aa (diff) | |
[Clang] `constexpr` builtin floating point classification / comparison functions (#94118)
As per [P0533R9](https://wg21.link/P0533R9), the corresponding C++
`[c.math.fpclass]` standard library functions for the C macros are now
`constexpr`.
The only classification function that wasn't already `constexpr` was
`__builtin_signbit`.
The floating point comparison functions `__builtin_isgreater`,
`__builtin_isgreaterequal`, `__builtin_isless`, `__builtin_islessequal`,
`__builtin_islessgreater` and `__builtin_isunordered` are now
`constexpr`.
The C23 macro `iseqsig` is not currently supported because
`__bulitin_iseqsig` doesn't exist yet (and C++26 is still currently
based on C18).
This also allows them to be constant folded in C, matching the behaviour
of GCC.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions
