Added config for Uncrustify [#CLICKHOUSE-3]

This commit is contained in:
Alexey Milovidov 2018-05-06 09:27:57 +03:00
parent 08ed8a22b5
commit 308f0e767c

View File

@ -1,4 +1,14 @@
# Uncrustify-0.66.1-2-f9c285db
# Configuration file for Uncrustify code formatter.
# https://github.com/uncrustify/uncrustify
#
# Created with https://cdanu.github.io/uncrustify_config_preview/index.html
#
# You may apply it for your code with:
# uncrustify -l CPP -c uncrustify.cfg -f filename.cpp
#
# This config is in beta: it doesn't implement our style guide perfectly.
# It's not recommended to apply it for existing code base.
newlines = lf
input_tab_size = 4
output_tab_size = 4
@ -204,8 +214,8 @@ nl_after_func_proto = 1
nl_after_func_proto_group = 2
nl_after_func_class_proto = 1
nl_after_func_class_proto_group = 2
nl_before_func_body_def = 3
nl_before_func_body_proto = 3
nl_before_func_body_def = 1
nl_before_func_body_proto = 1
nl_after_func_body = 3
nl_after_func_body_class = 3
nl_after_func_body_one_liner = 1
@ -234,5 +244,3 @@ mod_full_brace_while = remove
mod_paren_on_return = remove
mod_remove_extra_semicolon = true
mod_remove_empty_return = true
# option(s) with 'not default' value: 235
#