Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@

Language: Cpp

SortIncludes: true

BasedOnStyle: Chromium

SortIncludes: true
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^(<|")(.*/)?platform\.h(>|")$'
Priority: 1
- Regex: '.*'
Priority: 2

BinPackParameters: false
BitFieldColonSpacing: Both

Expand Down
4 changes: 4 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
reviews:
profile: chill
poem: false

3 changes: 3 additions & 0 deletions include/etl/chrono.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ namespace etl
using time_t = ::time_t;
}

// clang-format off
// Keeping the order is important here
#include "private/chrono/last_spec.h"
#include "private/chrono/duration.h"
#include "private/chrono/time_point.h"
Expand All @@ -83,6 +85,7 @@ namespace etl
#include "private/chrono/hh_mm_ss.h"
#include "private/chrono/operators.h"
#include "private/chrono/time_zone.h"
// clang-format on

namespace etl
{
Expand Down
Loading