grim/gplugin

Refresh .clang-format through clang-format version 9
develop
2020-02-15, Richard Laager
2784a9d26c2f
Parents 672c7b29b1f0
Children 93144a270d45
Refresh .clang-format through clang-format version 9

I also stripped trailing spaces.
  • +21 -6
    .clang-format
  • --- a/.clang-format Sat Feb 15 19:05:12 2020 -0600
    +++ b/.clang-format Sat Feb 15 19:06:26 2020 -0600
    @@ -2,25 +2,29 @@
    Language: Cpp
    AccessModifierOffset: -2
    AlignAfterOpenBracket: AlwaysBreak
    +AlignConsecutiveMacros: false
    AlignConsecutiveAssignments: false
    AlignConsecutiveDeclarations: false
    AlignEscapedNewlines: DontAlign
    AlignOperands: true
    AlignTrailingComments: true
    +AllowAllArgumentsOnNextLine: false
    +AllowAllConstructorInitializersOnNextLine: true
    AllowAllParametersOfDeclarationOnNextLine: false
    -AllowAllArgumentsOnNextLine: false
    AllowShortBlocksOnASingleLine: false
    AllowShortCaseLabelsOnASingleLine: false
    AllowShortFunctionsOnASingleLine: None
    -AllowShortIfStatementsOnASingleLine: false
    +AllowShortLambdasOnASingleLine: All
    +AllowShortIfStatementsOnASingleLine: Never
    AllowShortLoopsOnASingleLine: false
    AlwaysBreakAfterDefinitionReturnType: TopLevel
    AlwaysBreakAfterReturnType: TopLevelDefinitions
    AlwaysBreakBeforeMultilineStrings: false
    -AlwaysBreakTemplateDeclarations: true
    +AlwaysBreakTemplateDeclarations: Yes
    BinPackArguments: false
    BinPackParameters: false
    -BraceWrapping:
    +BraceWrapping:
    + AfterCaseLabel: false
    AfterClass: false
    AfterControlStatement: false
    AfterEnum: false
    @@ -39,6 +43,7 @@
    BreakBeforeBinaryOperators: None
    BreakBeforeBraces: Custom
    BreakBeforeInheritanceComma: false
    +BreakInheritanceList: BeforeColon
    BreakBeforeTernaryOperators: true
    BreakConstructorInitializersBeforeComma: false
    BreakConstructorInitializers: BeforeColon
    @@ -55,12 +60,12 @@
    DisableFormat: false
    ExperimentalAutoDetectBinPacking: false
    FixNamespaceComments: false
    -ForEachMacros:
    +ForEachMacros:
    - foreach
    - Q_FOREACH
    - BOOST_FOREACH
    IncludeBlocks: Preserve
    -IncludeCategories:
    +IncludeCategories:
    - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
    Priority: 2
    - Regex: '^(<|"(gtest|gmock|isl|json)/)'
    @@ -79,6 +84,7 @@
    MacroBlockEnd: '^G_STMT_END$'
    MaxEmptyLinesToKeep: 1
    NamespaceIndentation: None
    +ObjCBinPackProtocolList: Auto
    ObjCBlockIndentWidth: 2
    ObjCSpaceAfterProperty: false
    ObjCSpaceBeforeProtocolList: true
    @@ -87,6 +93,7 @@
    PenaltyBreakComment: 300
    PenaltyBreakFirstLessLess: 120
    PenaltyBreakString: 1000
    +PenaltyBreakTemplateDeclaration: 10
    PenaltyExcessCharacter: 1000000
    PenaltyReturnTypeOnItsOwnLine: 200
    PointerAlignment: Right
    @@ -94,9 +101,14 @@
    SortIncludes: true
    SortUsingDeclarations: true
    SpaceAfterCStyleCast: false
    +SpaceAfterLogicalNot: false
    SpaceAfterTemplateKeyword: false
    SpaceBeforeAssignmentOperators: true
    +SpaceBeforeCpp11BracedList: false
    +SpaceBeforeCtorInitializerColon: true
    +SpaceBeforeInheritanceColon: true
    SpaceBeforeParens: Never
    +SpaceBeforeRangeBasedForLoopColon: true
    SpaceInEmptyParentheses: false
    SpacesBeforeTrailingComments: 1
    SpacesInAngles: false
    @@ -105,6 +117,9 @@
    SpacesInParentheses: false
    SpacesInSquareBrackets: false
    Standard: Cpp11
    +StatementMacros:
    + - Q_UNUSED
    + - QT_REQUIRE_VERSION
    TabWidth: 4
    UseTab: ForContinuationAndIndentation
    ...