Skip to content

Instantly share code, notes, and snippets.

@rewrking
Created June 15, 2019 18:05
Show Gist options
  • Select an option

  • Save rewrking/9a58f7cc9ea1520e4bf34ece24f8a840 to your computer and use it in GitHub Desktop.

Select an option

Save rewrking/9a58f7cc9ea1520e4bf34ece24f8a840 to your computer and use it in GitHub Desktop.
# Clang version 9.0.0
Language: Cpp
AccessModifierOffset: -4
AllowShortBlocksOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: false
AlignTrailingComments: true
AlignAfterOpenBracket: DontAlign
AllowAllConstructorInitializersOnNextLine: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
BinPackArguments: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
BreakStringLiterals: false
ColumnLimit: 0
CompactNamespaces: false
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
ExperimentalAutoDetectBinPacking: false
IndentCaseLabels: true
IndentPPDirectives: BeforeHash
IndentWidth: 4
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
PointerAlignment: Left
ReflowComments: false
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpacesInAngles: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
TabWidth: 4
UseTab: Always
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment