diff options
author | Pavlo Solntsev <p.sun.fun@gmail.com> | 2019-11-11 14:21:25 -0600 |
---|---|---|
committer | Pavlo Solntsev <p.sun.fun@gmail.com> | 2019-11-21 14:03:01 -0600 |
commit | e95f47c395dec41a59adec7694d940f2557e3667 (patch) | |
tree | b29099a0de6549bca927242d638458c9ef5cb513 /.clang-format | |
parent | 7b774398414f2bf35115603da4e3badd45ffb025 (diff) |
CI: Code check formating in CI
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..13fd0fbd4 --- /dev/null +++ b/.clang-format @@ -0,0 +1,11 @@ +# See https://wiki.apertis.org/Guidelines/Coding_conventions#Code_formatting +BasedOnStyle: GNU +AlwaysBreakAfterDefinitionReturnType: All +BreakBeforeBinaryOperators: None +BinPackParameters: false +SpaceAfterCStyleCast: true +# Our column limit is actually 80, but setting that results in clang-format +# making a lot of dubious hanging-indent choices; disable it and assume the +# developer will line wrap appropriately. clang-format will still check +# existing hanging indents. +ColumnLimit: 0 |