| Mateusz Starzyk | 200f58c | 2021-07-20 15:49:39 +0200 | [diff] [blame] | 1 | --- |
| 2 | Language: Cpp |
| 3 | AlignAfterOpenBracket: Align |
| 4 | AlignConsecutiveAssignments: false |
| 5 | AlignConsecutiveBitFields: Consecutive |
| 6 | AlignConsecutiveDeclarations: false |
| 7 | AlignConsecutiveMacros: Consecutive |
| 8 | AlignEscapedNewlines: Left |
| 9 | AlignOperands: true |
| 10 | AlignTrailingComments: false |
| 11 | AllowAllArgumentsOnNextLine: false |
| 12 | AllowAllParametersOfDeclarationOnNextLine: false |
| 13 | AllowShortBlocksOnASingleLine: false |
| 14 | AllowShortCaseLabelsOnASingleLine: false |
| 15 | AllowShortEnumsOnASingleLine: false |
| 16 | AllowShortFunctionsOnASingleLine: None |
| 17 | AllowShortIfStatementsOnASingleLine: false |
| 18 | AllowShortLoopsOnASingleLine: false |
| 19 | AlwaysBreakAfterDefinitionReturnType: None |
| 20 | AlwaysBreakAfterReturnType: None |
| 21 | AlwaysBreakBeforeMultilineStrings: false |
| 22 | AlwaysBreakTemplateDeclarations: false |
| 23 | BinPackArguments: true |
| 24 | BinPackParameters: false |
| 25 | BitFieldColonSpacing: Both |
| 26 | BreakBeforeBinaryOperators: None |
| 27 | BraceWrapping: |
| 28 | AfterCaseLabel: false |
| 29 | AfterControlStatement: Never |
| 30 | AfterEnum: false |
| 31 | AfterFunction: true |
| 32 | AfterStruct: false |
| 33 | AfterUnion: false |
| 34 | AfterExternBlock: false |
| 35 | BeforeElse: false |
| 36 | BeforeWhile: false |
| 37 | IndentBraces: false |
| 38 | SplitEmptyFunction: true |
| 39 | SplitEmptyRecord: true |
| 40 | SplitEmptyNamespace: true |
| 41 | BreakBeforeBraces: Custom |
| 42 | BreakBeforeInheritanceComma: false |
| 43 | BreakBeforeTernaryOperators: false |
| 44 | BreakStringLiterals: false |
| 45 | ColumnLimit: 80 |
| 46 | # CommentPragmas prevent formatting of comments fitting particular patterns. |
| 47 | # Clang-format accepts only one pragma, so we need too prepapre a list of patterns joined with "|". |
| 48 | # * test cases: BEGIN_CASE|END_CASE |
| 49 | # * special string for check-names script: ^no-check-names |
| 50 | # * doxygen blocks: \\name|\\brief|\\param|\\return|^ {11}|\{.*\} |
| 51 | # The '^ {11}' stands for minimal indent in multiline Doxygen comments. |
| 52 | # It comes from the length of \brief keyword + 1 space prefix before the keyword |
| 53 | # and 4 spaces suffix after it, as in: " * \brief Function description ..." |
| 54 | # ^_________^ |
| 55 | # * KreMLin code generation: "KreMLin invocation" |
| 56 | CommentPragmas: 'BEGIN_CASE|END_CASE|^no-check-names|\\name|\\brief|\\param|\\return|^ {11}|\{.*\}|KreMLin invocation' |
| 57 | ContinuationIndentWidth: 4 |
| 58 | Cpp11BracedListStyle: false |
| 59 | DerivePointerAlignment: false |
| 60 | DisableFormat: false |
| 61 | ExperimentalAutoDetectBinPacking: false |
| 62 | ForEachMacros: [] |
| 63 | IncludeBlocks: Preserve |
| 64 | IncludeCategories: |
| 65 | - Regex: '.*' |
| 66 | Priority: 1 |
| 67 | IncludeIsMainRegex: '(Test)?$' |
| 68 | IndentCaseBlocks: true |
| 69 | IndentCaseLabels: true |
| 70 | IndentExternBlock: NoIndent |
| 71 | IndentGotoLabels: false |
| 72 | IndentPPDirectives: AfterHash |
| 73 | IndentWidth: 4 |
| 74 | IndentWrappedFunctionNames: false |
| 75 | KeepEmptyLinesAtTheStartOfBlocks: false |
| 76 | MacroBlockBegin: '' |
| 77 | MacroBlockEnd: '' |
| 78 | MaxEmptyLinesToKeep: 1 |
| 79 | PenaltyBreakAssignment: 10 |
| 80 | PenaltyBreakBeforeFirstCallParameter: 30 |
| 81 | PenaltyBreakComment: 10 |
| 82 | PenaltyBreakFirstLessLess: 0 |
| 83 | PenaltyBreakString: 50 |
| 84 | PenaltyExcessCharacter: 100 |
| 85 | PenaltyReturnTypeOnItsOwnLine: 60 |
| 86 | PointerAlignment: Right |
| 87 | ReflowComments: true |
| 88 | SortIncludes: false |
| 89 | SortUsingDeclarations: true |
| 90 | SpaceAfterCStyleCast: false |
| 91 | SpaceAfterLogicalNot: false |
| 92 | SpaceAroundPointerQualifiers: Default |
| 93 | SpaceBeforeAssignmentOperators: true |
| 94 | SpaceBeforeCaseColon: false |
| 95 | SpaceBeforeParens: ControlStatements |
| 96 | SpaceBeforeSquareBrackets: false |
| 97 | SpaceInEmptyBlock: false |
| 98 | SpaceInEmptyParentheses: false |
| 99 | SpacesBeforeTrailingComments: 1 |
| 100 | SpacesInAngles: false |
| 101 | SpacesInContainerLiterals: false |
| 102 | SpacesInCStyleCastParentheses: false |
| 103 | SpacesInConditionalStatement: false |
| 104 | SpacesInParentheses: false |
| 105 | SpacesInSquareBrackets: false |
| 106 | Standard: Cpp11 |
| 107 | StatementAttributeLikeMacros: [] |
| 108 | StatementMacros: [] |
| 109 | TypenameMacros: ['MBEDTLS_PRIVATE'] |
| 110 | UseCRLF: false |
| 111 | UseTab: Never |
| 112 | WhitespaceSensitiveMacros: [] |
| 113 | ... |