---
BasedOnStyle: Microsoft
ContinuationIndentWidth: 4
IndentWidth: 2
ColumnLimit: 100
MaxEmptyLinesToKeep: 3
UseTab: Never

AlignArrayOfStructures: None
AlignAfterOpenBracket: Align
AlignConsecutiveMacros:
  Enabled: true
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments:
  Kind: Always
  OverEmptyLines: 0
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AttributeMacros:
  - 'PCRE2_CALL_CONVENTION'
  - 'PCRE2_EXP_DECL'
  - 'PCRE2POSIX_EXP_DECL'
BinPackArguments: true
BinPackParameters: BinPack
BraceWrapping:
  AfterCaseLabel: true
  AfterClass: false
  AfterControlStatement: Always
  AfterEnum: false
  AfterFunction: true
  AfterNamespace: true
  AfterStruct: false
  AfterUnion: false
  AfterExternBlock: true
  BeforeCatch: true
  BeforeElse: true
  BeforeWhile: false
  IndentBraces: false
  SplitEmptyFunction: false
  SplitEmptyRecord: false
  SplitEmptyNamespace: true
BreakAfterReturnType: TopLevelDefinitions
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
Cpp11BracedListStyle: false
IndentCaseBlocks: true
IndentCaseLabels: false
IndentExternBlock: NoIndent
IndentGotoLabels: true
# TODO In future, I may want to set: IndentPPDirectives: AfterHash
InsertBraces: false
InsertNewlineAtEOF: true
KeepEmptyLines:
  AtEndOfFile: false
  AtStartOfBlock: true
  AtStartOfFile: false
Macros:
  - 'PCRE2_SUFFIX(x)=x'
PointerAlignment: Right
QualifierAlignment: Left
ReflowComments: Never
SeparateDefinitionBlocks: Leave
SortIncludes: Never
SpacesBeforeTrailingComments: 1
SpacesInLineCommentPrefix:
  Maximum: -1
  Minimum: 1
StatementMacros: ['PCRE2_FALLTHROUGH']
