summaryrefslogtreecommitdiffstats
path: root/share/uncrustify.cfg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:45:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:45:59 +0000
commit19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch)
tree42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /share/uncrustify.cfg
parentInitial commit. (diff)
downloadceph-19fcec84d8d7d21e796c7624e521b60d28ee21ed.tar.xz
ceph-19fcec84d8d7d21e796c7624e521b60d28ee21ed.zip
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/uncrustify.cfg')
-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