Skip to content

Commit

Permalink
Adds uncrustify 0.78.1 config (#475)
Browse files Browse the repository at this point in the history
* Update to 0.72 options.

* Adds uncrustify 0.78.1 config, old one as option.

* Cleanups to detect more versions of uncrustify.

* Option changes to make uncrustify 0.78 work like 0.72

* Remove deprecated parameter from uncrustify 0.72 config.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Signed-off-by: Marco A. Gutierrez <marco@openrobotics.org>
  • Loading branch information
marcoag authored Mar 21, 2024
1 parent 2d4f46c commit 1dc0e38
Show file tree
Hide file tree
Showing 4 changed files with 3,732 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Uncrustify-0.68
# Uncrustify-0.72

#
# General options
Expand Down Expand Up @@ -63,7 +63,7 @@ sp_assign = force # ignore/add/remove/force
sp_cpp_lambda_assign = ignore # ignore/add/remove/force

# Add or remove space after the capture specification in C++11 lambda.
sp_cpp_lambda_paren = ignore # ignore/add/remove/force
sp_cpp_lambda_square_paren = ignore # ignore/add/remove/force

# Add or remove space around assignment operator '=' in a prototype.
sp_assign_default = ignore # ignore/add/remove/force
Expand Down Expand Up @@ -515,9 +515,6 @@ sp_try_brace = force # ignore/add/remove/force
# Add or remove space between get/set and '{' if on the same line.
sp_getset_brace = ignore # ignore/add/remove/force

# Add or remove space between a variable and '{' for C++ uniform initialization. Default=Add.
sp_word_brace = add # ignore/add/remove/force

# Add or remove space between a variable and '{' for a namespace. Default=Add.
sp_word_brace_ns = add # ignore/add/remove/force

Expand Down
Loading

0 comments on commit 1dc0e38

Please sign in to comment.