diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-10-31 14:58:08 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-01 05:17:26 +0100 |
commit | 810a1fee57e21ed613362915488f9fce61b7aa4b (patch) | |
tree | ff8f84343a3fcd05c3ec4c67a51ff88da477b8f6 /.clang-format | |
parent | ab283d39889e28a6802cbec299db6a6792aebe5a (diff) | |
download | fiv-810a1fee57e21ed613362915488f9fce61b7aa4b.tar.gz fiv-810a1fee57e21ed613362915488f9fce61b7aa4b.tar.xz fiv-810a1fee57e21ed613362915488f9fce61b7aa4b.zip |
Add clang-format configuration
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..fd94d27 --- /dev/null +++ b/.clang-format @@ -0,0 +1,12 @@ +BasedOnStyle: LLVM +ColumnLimit: 80 +IndentWidth: 4 +TabWidth: 4 +UseTab: ForContinuationAndIndentation +AlwaysBreakAfterReturnType: AllDefinitions +BreakBeforeBraces: Linux +SpaceAfterCStyleCast: true +AlignAfterOpenBracket: DontAlign +AlignOperands: DontAlign +SpacesBeforeTrailingComments: 2 +WhitespaceSensitiveMacros: ['G_DEFINE_QUARK'] |