Nikolas Klauser
6b4b29f859
[libc++][NFC] Remove unnecessary parens in static_asserts ( #95605 )
...
These were required a long time ago due to `static_assert` not actually
being available in C++03. Now `static_assert` is simply mapped to
`_Static_assert` in C++03, making the additional parens unnecessary.
2024-06-18 10:45:30 +02:00
Nikolas Klauser
dcdcc7c804
[libc++][NFC] Replace typedefs with using in the math headers
...
Reviewed By: #libc, Mordante, ldionne
Spies: Mordante, libcxx-commits
Differential Revision: https://reviews.llvm.org/D155382
2023-08-03 08:51:50 -07:00
Nikolas Klauser
f3589d25fe
[libc++][NFC] Refactor the enable_ifs in the math headers
...
Reviewed By: #libc, Mordante
Spies: Mordante, libcxx-commits
Differential Revision: https://reviews.llvm.org/D155261
2023-08-02 10:03:32 -07:00
Nikolas Klauser
0e4d812f3e
[libc++][NFC] Format math headers
...
Reviewed By: #libc, Mordante
Spies: arichardson, Mordante, libcxx-commits
Differential Revision: https://reviews.llvm.org/D155260
2023-07-31 17:19:49 -07:00
Nikolas Klauser
404d31196f
[libc++][NFC] Remove std:: qualifications from math headers
...
Reviewed By: #libc, Mordante
Spies: Mordante, libcxx-commits
Differential Revision: https://reviews.llvm.org/D155259
2023-07-31 17:19:44 -07:00
Nikolas Klauser
6553608aca
[libc++] Granulaize math.h and move the functions to std::__math
...
Reviewed By: #libc, Mordante
Spies: Mordante, arichardson, libcxx-commits
Differential Revision: https://reviews.llvm.org/D155258
2023-07-31 17:19:39 -07:00