Skip to content

Commit

Permalink
Fix clang-16
Browse files Browse the repository at this point in the history
  • Loading branch information
dmohns committed Feb 26, 2024
1 parent 19da9db commit 49e1d2c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions firmware_selftest/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ IncludeBlocks: Preserve
IndentPPDirectives: AfterHash
DerivePointerAlignment: false
InsertNewlineAtEOF: true
# This is only available in Clang-16, see
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#insertnewlineateof
# However, Github runners currently only ship with Clang-15, see
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
# InsertNewlineAtEOF: true

# Always break after if to get accurate coverage
AllowShortIfStatementsOnASingleLine: false
Expand Down

0 comments on commit 49e1d2c

Please sign in to comment.