Skip to content
Merged
Changes from all 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: 10 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
BasedOnStyle: LLVM
# Pin AllowShortBlocksOnASingleLine to Always - the LLVM default flipped
# from Always to Never between clang-format versions, so without the
# explicit setting CI (older Ubuntu clang-format) and modern local
# installs would oscillate between collapsing and expanding short braced
# blocks like `{ WAL wal(path); }` in tests/wal_test.cpp. Pinning to
# Always matches CI's behaviour and keeps the existing concise style.
AllowShortBlocksOnASingleLine: Always
---
Loading