# Configuration file for clang-format, based on docs/CPP_STYLE.md. --- BasedOnStyle: Google AccessModifierOffset: -2 AlignOperands: AlignAfterOperator AllowShortBlocksOnASingleLine: Empty AllowShortIfStatementsOnASingleLine: Never AllowShortLoopsOnASingleLine: false AllowShortCaseLabelsOnASingleLine: true BraceWrapping: AfterCaseLabel: true AfterClass: true AfterControlStatement: Always AfterEnum: true AfterFunction: true AfterNamespace: true AfterObjCDeclaration: true AfterStruct: true AfterUnion: true AfterExternBlock: true BeforeCatch: true BeforeElse: true BeforeLambdaBody: true BeforeWhile: true IndentBraces: false SplitEmptyFunction: false SplitEmptyRecord: false SplitEmptyNamespace: false BreakBeforeBraces: Custom BreakConstructorInitializers: BeforeComma BreakInheritanceList: BeforeComma ColumnLimit: 120 ConstructorInitializerIndentWidth: 2 ContinuationIndentWidth: 2 DerivePointerAlignment: false IncludeBlocks: Preserve IndentCaseLabels: false IndentExternBlock: NoIndent InsertNewlineAtEOF: true PackConstructorInitializers: Never PointerAlignment: Middle QualifierAlignment: Right SpacesInContainerLiterals: false Standard: Latest TabWidth: 2 UseTab: Never