From 2ad5ee8ff692699f9b6cfff5bf85ebc03aa7348a Mon Sep 17 00:00:00 2001 From: gibbed Date: Sat, 22 Feb 2020 10:24:10 -0600 Subject: [PATCH] Force clang-format config that differs on Travis. --- .clang-format | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.clang-format b/.clang-format index 9f8b391e3..c1f442a68 100644 --- a/.clang-format +++ b/.clang-format @@ -3,3 +3,17 @@ BasedOnStyle: Google DerivePointerAlignment: false PointerAlignment: Left SortIncludes: true + +# The following should match defaults on Windows, +# but were found to be different on Travis. + +AlignConsecutiveMacros: false +AllowAllArgumentsOnNextLine: true +AllowAllConstructorInitializersOnNextLine: true +AllowShortLambdasOnASingleLine: All +AllowShortIfStatementsOnASingleLine: WithoutElse +BraceWrapping: + AfterCaseLabel: false + SplitEmptyNamespace: true +IncludeBlocks: Regroup +SpaceAfterLogicalNot: false