X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fshare%2Funcrustify.cfg;fp=src%2Fceph%2Fshare%2Funcrustify.cfg;h=5ffcae0806e6ea6ea72bec2d4fbdc9f58f6ca740;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/share/uncrustify.cfg b/src/ceph/share/uncrustify.cfg new file mode 100644 index 0000000..5ffcae0 --- /dev/null +++ b/src/ceph/share/uncrustify.cfg @@ -0,0 +1,44 @@ +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