Kristofer Jonsson | 49bdee8 | 2020-04-06 13:21:21 +0200 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2019-2020 Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | # |
| 6 | # Licensed under the Apache License, Version 2.0 (the License); you may |
| 7 | # not use this file except in compliance with the License. |
| 8 | # You may obtain a copy of the License at |
| 9 | # |
| 10 | # www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an AS IS BASIS, WITHOUT |
| 14 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
| 17 | # |
| 18 | |
| 19 | --- |
| 20 | Language: Cpp |
| 21 | AccessModifierOffset: -2 |
| 22 | AlignAfterOpenBracket: Align |
| 23 | AlignConsecutiveMacros: false |
| 24 | AlignConsecutiveAssignments: true |
| 25 | AlignConsecutiveDeclarations: false |
| 26 | AlignEscapedNewlines: Right |
| 27 | AlignOperands: true |
| 28 | AlignTrailingComments: true |
| 29 | AllowAllArgumentsOnNextLine: true |
| 30 | AllowAllConstructorInitializersOnNextLine: true |
| 31 | AllowAllParametersOfDeclarationOnNextLine: true |
| 32 | AllowShortBlocksOnASingleLine: false |
| 33 | AllowShortCaseLabelsOnASingleLine: false |
| 34 | AllowShortFunctionsOnASingleLine: Empty |
| 35 | AllowShortLambdasOnASingleLine: All |
| 36 | AllowShortIfStatementsOnASingleLine: Never |
| 37 | AllowShortLoopsOnASingleLine: false |
| 38 | AlwaysBreakAfterDefinitionReturnType: None |
| 39 | AlwaysBreakAfterReturnType: None |
| 40 | AlwaysBreakBeforeMultilineStrings: false |
| 41 | AlwaysBreakTemplateDeclarations: MultiLine |
| 42 | BinPackArguments: false |
| 43 | BinPackParameters: false |
| 44 | BraceWrapping: |
| 45 | AfterCaseLabel: true |
| 46 | AfterClass: true |
| 47 | AfterControlStatement: true |
| 48 | AfterEnum: true |
| 49 | AfterFunction: true |
| 50 | AfterNamespace: true |
| 51 | AfterObjCDeclaration: true |
| 52 | AfterStruct: true |
| 53 | AfterUnion: true |
| 54 | AfterExternBlock: false |
| 55 | BeforeCatch: true |
| 56 | BeforeElse: true |
| 57 | IndentBraces: false |
| 58 | SplitEmptyFunction: true |
| 59 | SplitEmptyRecord: true |
| 60 | SplitEmptyNamespace: true |
| 61 | BreakBeforeBinaryOperators: None |
| 62 | BreakBeforeBraces: Custom |
| 63 | BreakBeforeInheritanceComma: true |
| 64 | BreakInheritanceList: AfterColon |
| 65 | BreakBeforeTernaryOperators: false |
| 66 | BreakConstructorInitializersBeforeComma: true |
| 67 | BreakConstructorInitializers: AfterColon |
| 68 | BreakAfterJavaFieldAnnotations: false |
| 69 | BreakStringLiterals: true |
| 70 | ColumnLimit: 120 |
| 71 | CommentPragmas: '^ IWYU pragma:' |
| 72 | CompactNamespaces: false |
| 73 | ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 74 | ConstructorInitializerIndentWidth: 4 |
| 75 | ContinuationIndentWidth: 4 |
| 76 | Cpp11BracedListStyle: true |
| 77 | DerivePointerAlignment: false |
| 78 | DisableFormat: false |
| 79 | ExperimentalAutoDetectBinPacking: false |
| 80 | FixNamespaceComments: true |
| 81 | ForEachMacros: |
| 82 | - foreach |
| 83 | - Q_FOREACH |
| 84 | - BOOST_FOREACH |
| 85 | IncludeBlocks: Preserve |
| 86 | IncludeCategories: |
| 87 | - Regex: '^"(llvm|llvm-c|clang|clang-c)/' |
| 88 | Priority: 2 |
| 89 | - Regex: '^(<|"(gtest|gmock|isl|json)/)' |
| 90 | Priority: 3 |
| 91 | - Regex: '.*' |
| 92 | Priority: 1 |
| 93 | IncludeIsMainRegex: '(Test)?$' |
| 94 | IndentCaseLabels: false |
| 95 | IndentPPDirectives: None |
| 96 | IndentWidth: 4 |
| 97 | IndentWrappedFunctionNames: false |
| 98 | JavaScriptQuotes: Leave |
| 99 | JavaScriptWrapImports: true |
| 100 | KeepEmptyLinesAtTheStartOfBlocks: true |
| 101 | MacroBlockBegin: '' |
| 102 | MacroBlockEnd: '' |
| 103 | MaxEmptyLinesToKeep: 1 |
| 104 | NamespaceIndentation: None |
| 105 | ObjCBinPackProtocolList: Auto |
| 106 | ObjCBlockIndentWidth: 2 |
| 107 | ObjCSpaceAfterProperty: false |
| 108 | ObjCSpaceBeforeProtocolList: true |
| 109 | PenaltyBreakAssignment: 2 |
| 110 | PenaltyBreakBeforeFirstCallParameter: 19 |
| 111 | PenaltyBreakComment: 300 |
| 112 | PenaltyBreakFirstLessLess: 120 |
| 113 | PenaltyBreakString: 1000 |
| 114 | PenaltyBreakTemplateDeclaration: 10 |
| 115 | PenaltyExcessCharacter: 1000000 |
| 116 | PenaltyReturnTypeOnItsOwnLine: 1000000 |
| 117 | PointerAlignment: Right |
| 118 | ReflowComments: true |
| 119 | SortIncludes: true |
| 120 | SortUsingDeclarations: true |
| 121 | SpaceAfterCStyleCast: false |
| 122 | SpaceAfterLogicalNot: false |
| 123 | SpaceAfterTemplateKeyword: true |
| 124 | SpaceBeforeAssignmentOperators: true |
| 125 | SpaceBeforeCpp11BracedList: false |
| 126 | SpaceBeforeCtorInitializerColon: true |
| 127 | SpaceBeforeInheritanceColon: true |
| 128 | SpaceBeforeParens: ControlStatements |
| 129 | SpaceBeforeRangeBasedForLoopColon: true |
| 130 | SpaceInEmptyParentheses: false |
| 131 | SpacesBeforeTrailingComments: 1 |
| 132 | SpacesInAngles: false |
| 133 | SpacesInContainerLiterals: false |
| 134 | SpacesInCStyleCastParentheses: false |
| 135 | SpacesInParentheses: false |
| 136 | SpacesInSquareBrackets: false |
| 137 | Standard: Cpp11 |
| 138 | StatementMacros: |
| 139 | - Q_UNUSED |
| 140 | - QT_REQUIRE_VERSION |
| 141 | TabWidth: 8 |
| 142 | UseTab: Never |
| 143 | ... |
| 144 | |