Skip to content
Commit 80270727 authored by Reto Schneider's avatar Reto Schneider Committed by Carles Cufí
Browse files

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] https://github.com/llvm/llvm-project/issues/48983



Signed-off-by: default avatarReto Schneider <reto.schneider@husqvarnagroup.com>
parent ccf8c547
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment