github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/c-deps/libroach/.clang-format (about)

     1  ---
     2  Language:        Cpp
     3  AccessModifierOffset: -1
     4  AlignAfterOpenBracket: Align
     5  AlignConsecutiveAssignments: false
     6  AlignConsecutiveDeclarations: false
     7  AlignEscapedNewlines: Right
     8  AlignOperands:   true
     9  AlignTrailingComments: true
    10  AllowAllParametersOfDeclarationOnNextLine: true
    11  AllowShortBlocksOnASingleLine: false
    12  AllowShortCaseLabelsOnASingleLine: false
    13  AllowShortFunctionsOnASingleLine: All
    14  AllowShortIfStatementsOnASingleLine: false
    15  AllowShortLoopsOnASingleLine: false
    16  AlwaysBreakAfterDefinitionReturnType: None
    17  AlwaysBreakAfterReturnType: None
    18  AlwaysBreakBeforeMultilineStrings: false
    19  AlwaysBreakTemplateDeclarations: false
    20  BinPackArguments: true
    21  BinPackParameters: true
    22  BraceWrapping:
    23    AfterClass:      false
    24    AfterControlStatement: false
    25    AfterEnum:       false
    26    AfterFunction:   false
    27    AfterNamespace:  false
    28    AfterObjCDeclaration: false
    29    AfterStruct:     false
    30    AfterUnion:      false
    31    BeforeCatch:     false
    32    BeforeElse:      false
    33    IndentBraces:    false
    34    SplitEmptyFunction: true
    35    SplitEmptyRecord: true
    36    SplitEmptyNamespace: true
    37  BreakBeforeBinaryOperators: None
    38  BreakBeforeBraces: Attach
    39  BreakBeforeInheritanceComma: false
    40  BreakBeforeTernaryOperators: true
    41  BreakConstructorInitializersBeforeComma: false
    42  BreakConstructorInitializers: BeforeColon
    43  BreakAfterJavaFieldAnnotations: false
    44  BreakStringLiterals: true
    45  ColumnLimit:     100
    46  CommentPragmas:  '^ IWYU pragma:'
    47  CompactNamespaces: false
    48  ConstructorInitializerAllOnOneLineOrOnePerLine: true
    49  ConstructorInitializerIndentWidth: 4
    50  ContinuationIndentWidth: 4
    51  Cpp11BracedListStyle: true
    52  DerivePointerAlignment: false
    53  DisableFormat:   false
    54  ExperimentalAutoDetectBinPacking: false
    55  FixNamespaceComments: true
    56  ForEachMacros:
    57    - foreach
    58    - Q_FOREACH
    59    - BOOST_FOREACH
    60  IncludeCategories:
    61    - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
    62      Priority:        2
    63    - Regex:           '^(<|"(gtest|isl|json)/)'
    64      Priority:        3
    65    - Regex:           '^".*"$'
    66      Priority:        4
    67    - Regex:           '.*'
    68      Priority:        5
    69  IncludeIsMainRegex: '(Test)?$'
    70  IndentCaseLabels: false
    71  IndentWidth:     2
    72  IndentWrappedFunctionNames: false
    73  JavaScriptQuotes: Leave
    74  JavaScriptWrapImports: true
    75  KeepEmptyLinesAtTheStartOfBlocks: true
    76  MacroBlockBegin: ''
    77  MacroBlockEnd:   ''
    78  MaxEmptyLinesToKeep: 1
    79  NamespaceIndentation: None
    80  ObjCBlockIndentWidth: 2
    81  ObjCSpaceAfterProperty: false
    82  ObjCSpaceBeforeProtocolList: true
    83  PenaltyBreakAssignment: 2
    84  PenaltyBreakBeforeFirstCallParameter: 19
    85  PenaltyBreakComment: 300
    86  PenaltyBreakFirstLessLess: 120
    87  PenaltyBreakString: 1000
    88  PenaltyExcessCharacter: 1000000
    89  PenaltyReturnTypeOnItsOwnLine: 60
    90  PointerAlignment: Left
    91  ReflowComments:  true
    92  SortIncludes:    true
    93  SortUsingDeclarations: true
    94  SpaceAfterCStyleCast: false
    95  SpaceAfterTemplateKeyword: true
    96  SpaceBeforeAssignmentOperators: true
    97  SpaceBeforeParens: ControlStatements
    98  SpaceInEmptyParentheses: false
    99  SpacesBeforeTrailingComments: 2
   100  SpacesInAngles:  false
   101  SpacesInContainerLiterals: true
   102  SpacesInCStyleCastParentheses: false
   103  SpacesInParentheses: false
   104  SpacesInSquareBrackets: false
   105  Standard:        Cpp11
   106  TabWidth:        8
   107  UseTab:          Never
   108  ...
   109