Skip to content

Instantly share code, notes, and snippets.

@ahryshan
Last active May 12, 2023 14:21
Show Gist options
  • Save ahryshan/ed2eca238ecdc2b9cc46994209d89b7b to your computer and use it in GitHub Desktop.
Save ahryshan/ed2eca238ecdc2b9cc46994209d89b7b to your computer and use it in GitHub Desktop.
---
BasedOnStyle: LLVM
AlignAfterOpenBracket: BlockIndent
AlignArrayOfStructures: Left
AlignConsecutiveAssignments:
Enabled: true
AcrossComments: true
AlignCompound: true
AlignConsecutiveBitFields:
Enabled: true
AcrossComments: true
AlignCompound: true
AlignConsecutiveMacros:
Enabled: true
AcrossComments: true
AlignEscapedNewlines: Left
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortLoopsOnASingleLine: true
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
ColumnLimit: 100
CompactNamespaces: true
DerivePointerAlignment: true
ExperimentalAutoDetectBinPacking: true
IncludeBlocks: Regroup
IndentCaseLabels: true
IndentPPDirectives: BeforeHash
InsertNewlineAtEOF: true
NamespaceIndentation: Inner
PackConstructorInitializers: CurrentLine
SeparateDefinitionBlocks: Always
SortIncludes: CaseInsensitive
SpaceAfterTemplateKeyword: false
TabWidth: 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment