Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 1 | --- |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 2 | Language: Cpp |
| 3 | # BasedOnStyle: LLVM |
| 4 | AccessModifierOffset: -2 |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 5 | AlignAfterOpenBracket: Align |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 6 | AlignConsecutiveAssignments: false |
| 7 | AlignConsecutiveDeclarations: false |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 8 | AlignEscapedNewlines: Right |
| 9 | AlignOperands: Align |
| 10 | AlignTrailingComments: |
| 11 | Kind: Always |
| 12 | OverEmptyLines: 1 |
| 13 | AllowAllParametersOfDeclarationOnNextLine: true |
| 14 | AllowShortBlocksOnASingleLine: Empty |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 15 | AllowShortCaseLabelsOnASingleLine: false |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 16 | AllowShortFunctionsOnASingleLine: Empty |
| 17 | AllowShortIfStatementsOnASingleLine: Never |
| 18 | AllowShortLambdasOnASingleLine: true |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 19 | AllowShortLoopsOnASingleLine: false |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 20 | AlwaysBreakAfterReturnType: None |
| 21 | AlwaysBreakBeforeMultilineStrings: false |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 22 | AlwaysBreakTemplateDeclarations: Yes |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 23 | BinPackArguments: true |
| 24 | BinPackParameters: true |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 25 | BitFieldColonSpacing: None |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 26 | BraceWrapping: |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 27 | AfterCaseLabel: true |
| 28 | AfterClass: true |
| 29 | AfterControlStatement: true |
| 30 | AfterEnum: true |
| 31 | AfterExternBlock: true |
| 32 | AfterFunction: true |
| 33 | AfterNamespace: true |
| 34 | AfterObjCDeclaration: true |
| 35 | AfterStruct: true |
| 36 | AfterUnion: true |
| 37 | BeforeCatch: true |
| 38 | BeforeElse: true |
| 39 | BeforeLambdaBody: false |
| 40 | BeforeWhile: false |
| 41 | IndentBraces: false |
| 42 | SplitEmptyFunction: false |
| 43 | SplitEmptyRecord: false |
| 44 | SplitEmptyNamespace: false |
| 45 | BreakAfterAttributes: Never |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 46 | BreakBeforeBinaryOperators: None |
| 47 | BreakBeforeBraces: Custom |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 48 | BreakBeforeTernaryOperators: true |
| 49 | BreakConstructorInitializers: AfterColon |
| 50 | BreakInheritanceList: AfterColon |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 51 | BreakStringLiterals: false |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 52 | ColumnLimit: 80 |
| 53 | CommentPragmas: '^ IWYU pragma:' |
| 54 | CompactNamespaces: false |
| 55 | ConstructorInitializerIndentWidth: 4 |
| 56 | ContinuationIndentWidth: 4 |
| 57 | Cpp11BracedListStyle: true |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 58 | DerivePointerAlignment: false |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 59 | DisableFormat: false |
| 60 | FixNamespaceComments: true |
| 61 | ForEachMacros: |
| 62 | - foreach |
| 63 | - Q_FOREACH |
| 64 | - BOOST_FOREACH |
| 65 | IncludeBlocks: Regroup |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 66 | IncludeCategories: |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 67 | - Regex: '^[<"](gtest|gmock)' |
| 68 | Priority: 7 |
| 69 | - Regex: '^"config.h"' |
| 70 | Priority: -1 |
| 71 | - Regex: '^".*\.h"' |
| 72 | Priority: 1 |
| 73 | - Regex: '^".*\.hpp"' |
| 74 | Priority: 2 |
| 75 | - Regex: '^<.*\.h>' |
| 76 | Priority: 3 |
| 77 | - Regex: '^<.*\.hpp>' |
| 78 | Priority: 4 |
| 79 | - Regex: '^<.*' |
| 80 | Priority: 5 |
| 81 | - Regex: '.*' |
| 82 | Priority: 6 |
| 83 | IndentCaseLabels: true |
| 84 | IndentExternBlock: NoIndent |
| 85 | IndentRequiresClause: true |
| 86 | IndentWidth: 4 |
| 87 | IndentWrappedFunctionNames: true |
| 88 | InsertNewlineAtEOF: true |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 89 | KeepEmptyLinesAtTheStartOfBlocks: false |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 90 | LambdaBodyIndentation: OuterScope |
| 91 | LineEnding: LF |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 92 | MacroBlockBegin: '' |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 93 | MacroBlockEnd: '' |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 94 | MaxEmptyLinesToKeep: 1 |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 95 | NamespaceIndentation: None |
| 96 | ObjCBlockIndentWidth: 2 |
| 97 | ObjCSpaceAfterProperty: false |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 98 | ObjCSpaceBeforeProtocolList: true |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 99 | PackConstructorInitializers: BinPack |
| 100 | PenaltyBreakAssignment: 25 |
| 101 | PenaltyBreakBeforeFirstCallParameter: 19 |
| 102 | PenaltyBreakComment: 300 |
| 103 | PenaltyBreakFirstLessLess: 120 |
| 104 | PenaltyBreakString: 1000 |
| 105 | PenaltyExcessCharacter: 1000000 |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 106 | PenaltyReturnTypeOnItsOwnLine: 60 |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 107 | PenaltyIndentedWhitespace: 0 |
| 108 | PointerAlignment: Left |
| 109 | QualifierAlignment: Left |
| 110 | ReferenceAlignment: Left |
| 111 | ReflowComments: true |
| 112 | RequiresClausePosition: OwnLine |
| 113 | RequiresExpressionIndentation: Keyword |
| 114 | SortIncludes: CaseSensitive |
| 115 | SortUsingDeclarations: true |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 116 | SpaceAfterCStyleCast: false |
| 117 | SpaceAfterTemplateKeyword: true |
| 118 | SpaceBeforeAssignmentOperators: true |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 119 | SpaceBeforeCpp11BracedList: false |
| 120 | SpaceBeforeCtorInitializerColon: true |
| 121 | SpaceBeforeInheritanceColon: true |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 122 | SpaceBeforeParens: ControlStatements |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 123 | SpaceBeforeRangeBasedForLoopColon: true |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 124 | SpaceInEmptyParentheses: false |
| 125 | SpacesBeforeTrailingComments: 1 |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 126 | SpacesInAngles: Never |
| 127 | SpacesInContainerLiterals: true |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 128 | SpacesInCStyleCastParentheses: false |
| 129 | SpacesInParentheses: false |
| 130 | SpacesInSquareBrackets: false |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 131 | Standard: Latest |
| 132 | TabWidth: 4 |
| 133 | UseTab: Never |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 134 | ... |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 135 | |