diff --git a/.clang-format b/.clang-format index a4fbf68..1edc97c 100644 --- a/.clang-format +++ b/.clang-format @@ -2,8 +2,9 @@ BasedOnStyle: LLVM IndentWidth: 4 # Use 4 spaces for indentation TabWidth: 4 # Tab width is also 4 spaces UseTab: Never # Always use spaces instead of tabs -ColumnLimit: 80 # Wrap lines after 80 characters +ColumnLimit: 120 # Wrap lines after 80 characters AllowShortLoopsOnASingleLine: true +AllowShortFunctionsOnASingleLine: false AlwaysBreakTemplateDeclarations: true BreakConstructorInitializers: BeforeComma AlignConsecutiveDeclarations: @@ -14,3 +15,4 @@ AlignConsecutiveDeclarations: AlignFunctionPointers: false PadOperators: false AlignConsecutiveMacros: true +AllowShortCaseLabelsOnASingleLine: true