diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-11-05 21:30:51 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-05 21:34:05 +0100 |
commit | e423a3a1b1cced36618ef4aea076cb5ba275f0a4 (patch) | |
tree | 6da0c3cdc3eb936f89783d40c486d33713ebff23 /.clang-format | |
parent | 916f354c9b77881a50f3874e706d714ccbdc7dd0 (diff) | |
download | sdn-e423a3a1b1cced36618ef4aea076cb5ba275f0a4.tar.gz sdn-e423a3a1b1cced36618ef4aea076cb5ba275f0a4.tar.xz sdn-e423a3a1b1cced36618ef4aea076cb5ba275f0a4.zip |
Add clang-format configuration, clean up
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..fa8134e --- /dev/null +++ b/.clang-format @@ -0,0 +1,14 @@ +BasedOnStyle: LLVM +ColumnLimit: 80 +IndentWidth: 4 +TabWidth: 4 +UseTab: ForContinuationAndIndentation +SpaceAfterCStyleCast: true +SpaceBeforeParens: Always +AlignAfterOpenBracket: DontAlign +AlignEscapedNewlines: DontAlign +AlignOperands: DontAlign +AlignConsecutiveMacros: Consecutive +BreakBeforeTernaryOperators: true +SpacesBeforeTrailingComments: 2 +WhitespaceSensitiveMacros: ['XX', 'ACTIONS', 'LS'] |