From bcf5e5ee5a0657534e4dd07daad0b5b4c51f842c Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 22 Jul 2021 01:38:15 +0200 Subject: [PATCH] AK: Disable clang-format for AK/Time.h clang-format >=12 format this file incorrectly/differently. --- AK/Time.h | 3 +++ 1 file changed, 3 insertions(+) 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;