AK: Disable clang-format for AK/Time.h

clang-format >=12 format this file incorrectly/differently.
This commit is contained in:
Gunnar Beutner 2021-07-22 01:38:15 +02:00 committed by Andreas Kling
parent eaad94751c
commit bcf5e5ee5a
Notes: sideshowbarker 2024-07-18 08:36:26 +09:00

View file

@ -23,6 +23,8 @@ concept TimeSpecType = requires(T t)
t.tv_nsec;
};
// FIXME: remove once Clang formats these properly.
// clang-format off
namespace AK {
// Month and day start at 1. Month must be >= 1 and <= 12.
@ -287,6 +289,7 @@ inline bool operator!=(const T& a, const T& b)
}
}
// clang-format on
using AK::day_of_week;
using AK::day_of_year;