# CLANG-FORMAT V12 supported list (supported version of Visual Studion 2019) --- Language: Cpp ## Coding Guidelines Start ColumnLimit: 132 ## Coding Guidelines End # BasedOnStyle: Microsoft AccessModifierOffset: -4 AlignAfterOpenBracket: DontAlign # AlignArrayOfStructures: Right AlignConsecutiveAssignments: true AlignConsecutiveDeclarations: false AlignConsecutiveMacros: false AlignEscapedNewlines: Right AlignOperands: true # AlignOperands: AlignAfterOperator AlignTrailingComments: true AllowAllArgumentsOnNextLine: true # false? AllowAllConstructorInitializersOnNextLine: true # deprecated -> PackConstructorInitializers.NextLine AllowAllParametersOfDeclarationOnNextLine: false AllowShortBlocksOnASingleLine: Always AllowShortCaseLabelsOnASingleLine: false # AllowShortEnumsOnASingleLine: true AllowShortFunctionsOnASingleLine: None AllowShortIfStatementsOnASingleLine: false AllowShortLambdasOnASingleLine: All AllowShortLoopsOnASingleLine: false AlwaysBreakAfterDefinitionReturnType: None # deprecated AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: Yes # AttributeMacros: # - ... BinPackArguments: false BinPackParameters: false # BitFieldColonSpacing: Both BraceWrapping: AfterCaseLabel: true AfterClass: true AfterControlStatement: true AfterEnum: true AfterFunction: true AfterNamespace: true AfterObjCDeclaration: true AfterStruct: true AfterUnion: true AfterExternBlock: true BeforeCatch: true BeforeElse: true BeforeLambdaBody: true BeforeWhile: false IndentBraces: false SplitEmptyFunction: false SplitEmptyRecord: false SplitEmptyNamespace: false BreakBeforeBinaryOperators: NonAssignment BreakBeforeBraces: Custom # BreakBeforeConceptDeclaration: Always BreakBeforeTernaryOperators: true BreakConstructorInitializers: AfterColon BreakInheritanceList: AfterColon BreakStringLiterals: true CommentPragmas: '^ IWYU pragma:' CompactNamespaces: false ConstructorInitializerAllOnOneLineOrOnePerLine: false # deprecated -> PackConstructorInitializers.CurrentLine ConstructorInitializerIndentWidth: 4 ContinuationIndentWidth: 4 Cpp11BracedListStyle: true DeriveLineEnding: true DerivePointerAlignment: false DisableFormat: false # EmptyLineAfterAccessModifier: Never # EmptyLineBeforeAccessModifier: Always ExperimentalAutoDetectBinPacking: false FixNamespaceComments: true # ForEachMacros: # - foreach # - ... # IfMacros: # - ... IncludeBlocks: Regroup IncludeCategories: - Regex: '^"' Priority: 3 SortPriority: 0 - Regex: '^