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 | 7ead0d3 | 2024-08-16 15:21:26 -0400 | [diff] [blame] | 90 | LambdaBodyIndentation: Signature |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 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 |
Patrick Williams | 7ead0d3 | 2024-08-16 15:21:26 -0400 | [diff] [blame] | 101 | PenaltyBreakBeforeFirstCallParameter: 50 |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 102 | PenaltyBreakComment: 300 |
| 103 | PenaltyBreakFirstLessLess: 120 |
| 104 | PenaltyBreakString: 1000 |
Patrick Williams | 7ead0d3 | 2024-08-16 15:21:26 -0400 | [diff] [blame] | 105 | PenaltyBreakTemplateDeclaration: 10 |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 106 | PenaltyExcessCharacter: 1000000 |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 107 | PenaltyReturnTypeOnItsOwnLine: 60 |
Patrick Williams | 7ead0d3 | 2024-08-16 15:21:26 -0400 | [diff] [blame] | 108 | PenaltyIndentedWhitespace: 1 |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 109 | PointerAlignment: Left |
| 110 | QualifierAlignment: Left |
| 111 | ReferenceAlignment: Left |
| 112 | ReflowComments: true |
| 113 | RequiresClausePosition: OwnLine |
| 114 | RequiresExpressionIndentation: Keyword |
| 115 | SortIncludes: CaseSensitive |
| 116 | SortUsingDeclarations: true |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 117 | SpaceAfterCStyleCast: false |
| 118 | SpaceAfterTemplateKeyword: true |
| 119 | SpaceBeforeAssignmentOperators: true |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 120 | SpaceBeforeCpp11BracedList: false |
| 121 | SpaceBeforeCtorInitializerColon: true |
| 122 | SpaceBeforeInheritanceColon: true |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 123 | SpaceBeforeParens: ControlStatements |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 124 | SpaceBeforeRangeBasedForLoopColon: true |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 125 | SpaceInEmptyParentheses: false |
| 126 | SpacesBeforeTrailingComments: 1 |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 127 | SpacesInAngles: Never |
| 128 | SpacesInContainerLiterals: true |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 129 | SpacesInCStyleCastParentheses: false |
| 130 | SpacesInParentheses: false |
| 131 | SpacesInSquareBrackets: false |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 132 | Standard: Latest |
| 133 | TabWidth: 4 |
| 134 | UseTab: Never |
Thang Q. Nguyen | 4300d21 | 2023-05-15 12:22:53 +0700 | [diff] [blame] | 135 | ... |
Patrick Williams | 8b050c9 | 2023-10-20 11:19:32 -0500 | [diff] [blame] | 136 | |