[libc++] Change `std::numeric_limits` to just `numeric_limits` in <chrono>.
The namespace is unnecessary, and libc++ style is not to include it on type names.
(As opposed to function names, where qualification affects ADL; and in certain
function signatures where `std::` and `_VSTD::` might be mangled differently.
This is none of those situations.)
GitOrigin-RevId: 5f58374bbef356a4fd1565426257a4a24478a880
diff --git a/include/chrono b/include/chrono
index 53e4546..c8aab5d 100644
--- a/include/chrono
+++ b/include/chrono
@@ -2308,8 +2308,8 @@
year_month_day
year_month_day::__from_days(days __d) noexcept
{
- static_assert(std::numeric_limits<unsigned>::digits >= 18, "");
- static_assert(std::numeric_limits<int>::digits >= 20 , "");
+ static_assert(numeric_limits<unsigned>::digits >= 18, "");
+ static_assert(numeric_limits<int>::digits >= 20 , "");
const int __z = __d.count() + 719468;
const int __era = (__z >= 0 ? __z : __z - 146096) / 146097;
const unsigned __doe = static_cast<unsigned>(__z - __era * 146097); // [0, 146096]
@@ -2325,8 +2325,8 @@
// https://howardhinnant.github.io/date_algorithms.html#days_from_civil
inline constexpr days year_month_day::__to_days() const noexcept
{
- static_assert(std::numeric_limits<unsigned>::digits >= 18, "");
- static_assert(std::numeric_limits<int>::digits >= 20 , "");
+ static_assert(numeric_limits<unsigned>::digits >= 18, "");
+ static_assert(numeric_limits<int>::digits >= 20 , "");
const int __yr = static_cast<int>(__y) - (__m <= February);
const unsigned __mth = static_cast<unsigned>(__m);