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:Reto Schneider <reto.schneider@husqvarnagroup.com>
Loading
Please sign in to comment