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