From 875acec989dd2abad88e0971ee58d8a428cecc62 Mon Sep 17 00:00:00 2001 From: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com> Date: Fri, 8 Nov 2024 13:22:15 -0700 Subject: [PATCH] Tools: Fix incorrect astyle option * It should be called add-braces not add-brackets * https://astyle.sourceforge.net/astyle.html * Running newer astyle fails on this option * Enforcing it has no effect on existing astyle-formatted code Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com> --- Tools/CodeStyle/astylerc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/CodeStyle/astylerc b/Tools/CodeStyle/astylerc index 20bc80e4ec..75a467bc1d 100644 --- a/Tools/CodeStyle/astylerc +++ b/Tools/CodeStyle/astylerc @@ -1,6 +1,6 @@ style=linux keep-one-line-statements -add-brackets +add-braces indent=spaces=4 indent-col1-comments min-conditional-indent=0