summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2020-04-16 09:13:57 +0200
committerDamien George <damien.p.george@gmail.com>2020-04-23 11:24:25 +1000
commit84fa3312cfa7d2237d4b56952f2cd6e3591210c4 (patch)
treedc2b3e67bad9969fc5792ca0822798d58addf174 /tools
parentd6243568a05d423b58522435c3779975acbf56dd (diff)
all: Format code to add space after C++-style comment start.
Note: the uncrustify configuration is explicitly set to 'add' instead of 'force' in order not to alter the comments which use extra spaces after // as a means of indenting text for clarity.
Diffstat (limited to 'tools')
-rw-r--r--tools/uncrustify.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/uncrustify.cfg b/tools/uncrustify.cfg
index 4f255c8a6..b0b1239b1 100644
--- a/tools/uncrustify.cfg
+++ b/tools/uncrustify.cfg
@@ -853,7 +853,7 @@ sp_extern_paren = ignore # ignore/add/remove/force
# Add or remove space after the opening of a C++ comment,
# i.e. '// A' vs. '//A'.
-sp_cmt_cpp_start = ignore # ignore/add/remove/force
+sp_cmt_cpp_start = add # ignore/add/remove/force
# If true, space is added with sp_cmt_cpp_start will be added after doxygen
# sequences like '///', '///<', '//!' and '//!<'.