summaryrefslogtreecommitdiffstats
path: root/share/uncrustify.cfg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /share/uncrustify.cfg
parentInitial commit. (diff)
downloadceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz
ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--share/uncrustify.cfg44
1 files changed, 44 insertions, 0 deletions
diff --git a/share/uncrustify.cfg b/share/uncrustify.cfg
new file mode 100644
index 000000000..5ffcae080
--- /dev/null
+++ b/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