diff options
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..69cb827f --- /dev/null +++ b/.clang-format @@ -0,0 +1,10 @@ +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 |