summaryrefslogtreecommitdiff
path: root/AK/Time.h
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-07-22 01:38:15 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-22 08:57:01 +0200
commitbcf5e5ee5a0657534e4dd07daad0b5b4c51f842c (patch)
tree682690406decb01d94164e6104ecf775a262adb2 /AK/Time.h
parenteaad94751c2c0fc4eed8d8253570ca2a796abb49 (diff)
downloadserenity-bcf5e5ee5a0657534e4dd07daad0b5b4c51f842c.zip
AK: Disable clang-format for AK/Time.h
clang-format >=12 format this file incorrectly/differently.
Diffstat (limited to 'AK/Time.h')
-rw-r--r--AK/Time.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/AK/Time.h b/AK/Time.h
index 1a7447dc36..9cc61321fd 100644
--- a/AK/Time.h
+++ b/AK/Time.h
@@ -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;