github.com/castai/kvisor@v1.7.1-0.20240516114728-b3572a2607b5/.clang-format (about) 1 --- 2 Language: Cpp 3 AccessModifierOffset: -2 4 AlignAfterOpenBracket: Align 5 AlignConsecutiveMacros: true 6 AlignConsecutiveAssignments: false 7 AlignConsecutiveBitFields: false 8 AlignConsecutiveDeclarations: false 9 AlignEscapedNewlines: Right 10 AlignOperands: Align 11 AlignTrailingComments: true 12 AllowAllArgumentsOnNextLine: true 13 AllowAllConstructorInitializersOnNextLine: true 14 AllowAllParametersOfDeclarationOnNextLine: true 15 AllowShortEnumsOnASingleLine: false 16 AllowShortBlocksOnASingleLine: Never 17 AllowShortCaseLabelsOnASingleLine: false 18 AllowShortFunctionsOnASingleLine: Empty 19 AllowShortLambdasOnASingleLine: Empty 20 AllowShortIfStatementsOnASingleLine: Never 21 AllowShortLoopsOnASingleLine: false 22 AlwaysBreakAfterDefinitionReturnType: None 23 AlwaysBreakAfterReturnType: None 24 PenaltyReturnTypeOnItsOwnLine: 1000000 25 AlwaysBreakBeforeMultilineStrings: false 26 AlwaysBreakTemplateDeclarations: MultiLine 27 AttributeMacros: 28 - __capability 29 BinPackArguments: false 30 BinPackParameters: false 31 BraceWrapping: 32 AfterCaseLabel: false 33 AfterClass: false 34 AfterControlStatement: Never 35 AfterEnum: false 36 AfterFunction: false 37 AfterNamespace: false 38 AfterStruct: false 39 AfterUnion: false 40 AfterExternBlock: false 41 BeforeCatch: false 42 BeforeElse: false 43 BeforeLambdaBody: false 44 BeforeWhile: false 45 IndentBraces: false 46 SplitEmptyFunction: true 47 SplitEmptyRecord: true 48 SplitEmptyNamespace: true 49 BreakBeforeBinaryOperators: None 50 BreakBeforeBraces: Linux 51 BreakBeforeInheritanceComma: false 52 BreakInheritanceList: BeforeColon 53 BreakBeforeTernaryOperators: true 54 BreakConstructorInitializersBeforeComma: false 55 BreakConstructorInitializers: BeforeColon 56 BreakStringLiterals: true 57 ColumnLimit: 100 58 CommentPragmas: '^ IWYU pragma:' 59 CompactNamespaces: false 60 ConstructorInitializerAllOnOneLineOrOnePerLine: false 61 ConstructorInitializerIndentWidth: 4 62 ContinuationIndentWidth: 4 63 Cpp11BracedListStyle: true 64 DeriveLineEnding: true 65 DerivePointerAlignment: true 66 DisableFormat: false 67 ExperimentalAutoDetectBinPacking: false 68 FixNamespaceComments: true 69 IncludeBlocks: Preserve 70 IncludeIsMainRegex: '(Test)?$' 71 IncludeIsMainSourceRegex: '' 72 IndentCaseLabels: true 73 IndentCaseBlocks: false 74 IndentGotoLabels: true 75 IndentPPDirectives: BeforeHash 76 IndentExternBlock: AfterExternBlock 77 IndentRequires: false 78 IndentWidth: 4 79 IndentWrappedFunctionNames: false 80 InsertTrailingCommas: None 81 KeepEmptyLinesAtTheStartOfBlocks: false 82 MacroBlockBegin: '' 83 MacroBlockEnd: '' 84 MaxEmptyLinesToKeep: 1 85 NamespaceIndentation: None 86 PenaltyBreakAssignment: 2 87 PenaltyBreakBeforeFirstCallParameter: 19 88 PenaltyBreakComment: 300 89 PenaltyBreakFirstLessLess: 120 90 PenaltyBreakString: 1000 91 PenaltyBreakTemplateDeclaration: 10 92 PenaltyExcessCharacter: 1000000 93 PenaltyReturnTypeOnItsOwnLine: 60 94 PointerAlignment: Right 95 ReflowComments: true 96 SortIncludes: false 97 SortUsingDeclarations: true 98 SpaceAfterCStyleCast: true 99 SpaceAfterLogicalNot: false 100 SpaceAfterTemplateKeyword: true 101 SpaceBeforeAssignmentOperators: true 102 SpaceBeforeCaseColon: false 103 SpaceBeforeCpp11BracedList: false 104 SpaceBeforeCtorInitializerColon: false 105 SpaceBeforeInheritanceColon: false 106 SpaceBeforeParens: ControlStatements 107 SpaceAroundPointerQualifiers: Default 108 SpaceBeforeRangeBasedForLoopColon: false 109 SpaceInEmptyBlock: false 110 SpaceInEmptyParentheses: false 111 SpacesBeforeTrailingComments: 1 112 SpacesInAngles: false 113 SpacesInConditionalStatement: false 114 SpacesInContainerLiterals: true 115 SpacesInCStyleCastParentheses: false 116 SpacesInParentheses: false 117 SpacesInSquareBrackets: false 118 SpaceBeforeSquareBrackets: false 119 BitFieldColonSpacing: Both 120 Standard: Latest 121 TabWidth: 8 122 UseCRLF: false 123 UseTab: Never 124 WhitespaceSensitiveMacros: 125 - STRINGIZE 126 - PP_STRINGIZE 127 - BOOST_PP_STRINGIZE 128 - NS_SWIFT_NAME 129 - CF_SWIFT_NAME 130 ---