Skip to content

Commit 8027072

Browse files
rettichschnidicarlescufi
authored andcommitted
scripts: requirements: extras: Suitable clang-format version
Even when BreakBeforeBraces is set to Linux, implying BraceWrapping for AfterEnum to be true, clang-format version 12 puts the opening brace of an enum declaration on a new line. [1] One possible workaround would be to change AllowShortEnumsOnASingleLine from false to true, but that would yield a different kind of unwanted formatting. clang-format version 13 and newer have this issue fixed, therefore bumping the minimal version. [1] llvm/llvm-project#48983 Signed-off-by: Reto Schneider <[email protected]>
1 parent ccf8c54 commit 8027072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/requirements-extras.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ gitlint
1010
junit2html
1111

1212
# helper for developers - code formatter
13-
clang-format>=1.12x
13+
clang-format>=1.13x
1414

1515
# Script used to build firmware images for NXP LPC MCUs.
1616
lpc_checksum

0 commit comments

Comments
 (0)