From 57f3cb76148e98774e5a6872512465ed79aff81d Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 5 Jun 2022 12:31:41 +0200 Subject: [PATCH] Added the clang-format option AllowShortEnumsOnASingleLine and set it to false. --- .clang-format | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.clang-format b/.clang-format index 70f270fca..5041249e9 100644 --- a/.clang-format +++ b/.clang-format @@ -4,7 +4,7 @@ # .clang-format # # Style configuration file for automatic C++ code formatting using clang-format. -# This file requires at least clang-format version 10.0. +# This file requires at least clang-format version 11.0. # --- @@ -23,8 +23,7 @@ AllowAllConstructorInitializersOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: Empty AllowShortCaseLabelsOnASingleLine: false -# The following option requires version >= 11.0. -#####AllowShortEnumsOnASingleLine: false +AllowShortEnumsOnASingleLine: false AllowShortFunctionsOnASingleLine: All AllowShortLambdasOnASingleLine: All AllowShortIfStatementsOnASingleLine: Never