ceph/share/uncrustify.cfg
Wido den Hollander ad47b4180e CodingStyle: Fix coding-style on PG related Monitor files
Using uncrustify the coding style of the files has been changed
to match what has been described in the CodingStyle document.

This process was fully automated using uncrustify and with the
configuration file in the 'share' directory this can be applied
to other files when needed.
2015-12-10 00:11:47 +01:00

45 lines
1002 B
INI

indent_columns=2
indent_align_string=true
indent_braces=false
indent_braces_no_func=false
indent_brace_parent=false
indent_namespace=false
indent_extern=false
indent_class=true
indent_class_colon=true
indent_else_if=false
indent_func_call_param=false
indent_func_def_param=false
indent_func_proto_param=false
indent_func_class_param=false
indent_func_ctor_var_param=false
indent_template_param=false
indent_func_param_double=false
indent_relative_single_line_comments=false
indent_col1_comment=true
indent_access_spec_body=false
indent_paren_nl=false
indent_comma_paren=false
indent_bool_paren=false
indent_square_nl=false
indent_preserve_sql=false
indent_align_assign=true
nl_max=3
nl_after_vbrace_close=true
nl_after_brace_close=true
nl_after_return=true
nl_before_return=true
nl_brace_else=remove
nl_if_brace=remove
nl_catch_brace=remove
nl_brace_catch=remove
nl_while_brace=remove
nl_finally_brace=remove
sp_else_brace=add
sp_brace_else=add
sp_try_brace=add
sp_catch_brace=add
sp_brace_catch=add