aboutsummaryrefslogtreecommitdiff
path: root/src/uncrustify.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'src/uncrustify.cfg')
-rw-r--r--src/uncrustify.cfg13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/uncrustify.cfg b/src/uncrustify.cfg
index 50cee638af..91a72fa318 100644
--- a/src/uncrustify.cfg
+++ b/src/uncrustify.cfg
@@ -1,4 +1,4 @@
-# Uncrustify-0.79.0_f
+# Uncrustify-0.80.1_f
#
# General options
@@ -422,6 +422,10 @@ sp_invariant_paren = ignore # ignore/add/remove/force
sp_after_invariant_paren = ignore # ignore/add/remove/force
# Add or remove space before empty statement ';' on 'if', 'for' and 'while'.
+# examples:
+# if (b) <here> ;
+# for (a=1; a<10; a++) <here> ;
+# while (*p++ = ' ') <here> ;
sp_special_semi = ignore # ignore/add/remove/force
# Add or remove space before ';'.
@@ -1103,6 +1107,10 @@ sp_after_emb_cmt = force # ignore/add/remove/force
# Default: 1
sp_num_after_emb_cmt = 1 # unsigned number
+# Embedded comment spacing options have higher priority (== override)
+# than other spacing options (comma, parenthesis, braces, ...)
+sp_emb_cmt_priority = false # true/false
+
# (Java) Add or remove space between an annotation and the open parenthesis.
sp_annotation_paren = ignore # ignore/add/remove/force
@@ -1127,6 +1135,9 @@ force_tab_after_define = false # true/false
# Add or remove space between two strings.
sp_string_string = force # ignore/add/remove/force
+# Add or remove space 'struct' and a type.
+sp_struct_type = ignore # ignore/add/remove/force
+
#
# Indenting options
#