Created
March 8, 2022 21:58
-
-
Save SBell6hf/4e6ad7af8c36d856269af078e27210c6 to your computer and use it in GitHub Desktop.
.clang-format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BasedOnStyle: Google | |
AccessModifierOffset: -4 | |
AlignAfterOpenBracket: DontAlign | |
AlignArrayOfStructures: Right | |
AlignConsecutiveAssignments: AcrossComments | |
AlignConsecutiveBitFields: AcrossComments | |
AlignConsecutiveDeclarations: AcrossComments | |
AlignConsecutiveMacros: AcrossComments | |
AlignEscapedNewlines: DontAlign | |
AlignOperands: AlignAfterOperator | |
AlignTrailingComments: true | |
AllowAllArgumentsOnNextLine: true | |
AllowAllParametersOfDeclarationOnNextLine: false | |
AllowShortBlocksOnASingleLine: Empty | |
AllowShortCaseLabelsOnASingleLine: false | |
AllowShortEnumsOnASingleLine: true | |
AllowShortFunctionsOnASingleLine: Empty | |
AllowShortIfStatementsOnASingleLine: Never | |
AllowShortLambdasOnASingleLine: Inline | |
AllowShortLoopsOnASingleLine: false | |
AlwaysBreakAfterReturnType: None | |
AlwaysBreakBeforeMultilineStrings: true | |
AlwaysBreakTemplateDeclarations: Yes | |
# AttributeMacros: [] | |
BinPackArguments: false | |
BinPackParameters: false | |
BitFieldColonSpacing: After | |
BreakAfterJavaFieldAnnotations: false | |
BreakBeforeBinaryOperators: NonAssignment | |
BreakBeforeBraces: Attach | |
### BreakBeforeConceptDeclarations: Never | |
BreakBeforeTernaryOperators: true | |
BreakConstructorInitializers: AfterColon | |
BreakInheritanceList: AfterColon | |
BreakStringLiterals: true | |
ColumnLimit: 150 | |
CommentPragmas: "" | |
CompactNamespaces: false | |
ConstructorInitializerIndentWidth: 4 | |
ContinuationIndentWidth: 4 | |
Cpp11BracedListStyle: false | |
DeriveLineEnding: false | |
DerivePointerAlignment: false | |
DisableFormat: false | |
EmptyLineAfterAccessModifier: Never | |
EmptyLineBeforeAccessModifier: Always | |
# ExperimentalAutoDetectBinPacking: false | |
FixNamespaceComments: false | |
# ForEachMacros: [] | |
# IfMacros: [] | |
IncludeBlocks: Regroup | |
# IncludeCategories | |
# IncludeIsMainRegex | |
# IncludeIsMainSourceRegex | |
IndentAccessModifiers: true | |
IndentCaseBlocks: true | |
IndentExternBlock: true | |
IndentGotoLabels: true | |
IndentPPDirectives: BeforeHash | |
### IndentRequiresClause: true | |
IndentRequires: true | |
IndentWidth: 4 | |
IndentWrappedFunctionNames: true | |
### InsertBraces: true | |
### InsertTrailingCommas: true | |
# JavaImportGroups | |
JavaScriptQuotes: Leave # Fit | |
JavaScriptWrapImports: true | |
KeepEmptyLinesAtTheStartOfBlocks: true | |
LambdaBodyIndentation: Signature | |
# Language | |
# MacroBlockBegin: '' | |
# MacroBlockEnd: '' | |
MaxEmptyLinesToKeep: 2 | |
NamespaceIndentation: All | |
# NamespaceMacros: [] | |
ObjCBinPackProtocolList: Never | |
ObjCBlockIndentWidth: 4 | |
ObjCBreakBeforeNestedBlockParam: false | |
ObjCSpaceAfterProperty: true | |
ObjCSpaceBeforeProtocolList: true | |
PPIndentWidth: -1 | |
### PackConstructorInitializers: CurrentLine | |
PointerAlignment: Left | |
### QualifierAlignment: Left | |
# QualifierOrder | |
# RawStringFormats | |
ReferenceAlignment: Right | |
ReflowComments: true | |
### RemoveBracesLLVM: false | |
### RequiresClausePosition: WithPreceding | |
### SeparateDefinitionBlocks: Leave | |
ShortNamespaceLines: 5 | |
SortIncludes: CaseSensitive | |
# SortJavaStaticImport: After | |
SortUsingDeclarations: true | |
SpaceAfterCStyleCast: true | |
SpaceAfterLogicalNot: false | |
SpaceAfterTemplateKeyword: true | |
SpaceAroundPointerQualifiers: Default | |
SpaceBeforeAssignmentOperators: true | |
SpaceBeforeCaseColon: false | |
SpaceBeforeCpp11BracedList: true | |
SpaceBeforeCtorInitializerColon: true | |
SpaceBeforeInheritanceColon: true # After: false | |
SpaceBeforeParens: ControlStatements | |
### SpaceBeforeParensOptions | |
SpaceBeforeRangeBasedForLoopColon: true | |
SpaceInEmptyBlock: false | |
SpaceInEmptyParentheses: false | |
SpacesBeforeTrailingComments: 4 | |
SpacesInAngles: Never | |
SpacesInCStyleCastParentheses: false | |
SpacesInConditionalStatement: false | |
SpacesInContainerLiterals: false | |
SpacesInLineCommentPrefix: | |
Minimum: 1 | |
Maximum: 1 | |
SpacesInParentheses: false | |
SpacesInSquareBrackets: false | |
Standard: Latest | |
# StatementAttributeLikeMacros: [] | |
# StatementMacros: [] | |
TabWidth: 4 | |
# TypenameMacros: [] | |
UseCRLF: false | |
UseTab: Always | |
# WhitespaceSensitiveMacros: [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment