mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
AK: Disable clang-format for AK/Time.h
clang-format >=12 format this file incorrectly/differently.
This commit is contained in:
parent
eaad94751c
commit
bcf5e5ee5a
Notes:
sideshowbarker
2024-07-18 08:36:26 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/bcf5e5ee5a0 Pull-request: https://github.com/SerenityOS/serenity/pull/8925 Reviewed-by: https://github.com/awesomekling
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,8 @@ concept TimeSpecType = requires(T t)
|
||||||
t.tv_nsec;
|
t.tv_nsec;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// FIXME: remove once Clang formats these properly.
|
||||||
|
// clang-format off
|
||||||
namespace AK {
|
namespace AK {
|
||||||
|
|
||||||
// Month and day start at 1. Month must be >= 1 and <= 12.
|
// 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_week;
|
||||||
using AK::day_of_year;
|
using AK::day_of_year;
|
||||||
|
|
Loading…
Reference in a new issue