# A clang-format config to follow CSCI200's style guide, use before turning in IndentWidth: 2 UseTab: Never TabWidth: 2 InsertBraces: true SortIncludes: true IncludeBlocks: Regroup IncludeCategories: # System headers from C - Regex: '' Priority: 3 # System headers without extension. - Regex: '<([A-Za-z0-9\Q/-_\E])+>' Priority: 2 # Local headers with extension. - Regex: '"([A-Za-z0-9\Q/-_\E])+\.h(pp)?"' Priority: 1 BraceWrapping: AfterCaseLabel: false AfterClass: false AfterControlStatement: Never AfterEnum: false AfterFunction: false AfterNamespace: false AfterObjCDeclaration: false AfterStruct: false AfterUnion: false AfterExternBlock: false BeforeCatch: false BeforeElse: false BeforeLambdaBody: false BeforeWhile: false SplitEmptyFunction: false SplitEmptyRecord: false SplitEmptyNamespace: false IndentCaseLabels: true IntegerLiteralSeparator: Binary: -1 Decimal: -1 Hex: -1 DerivePointerAlignment: false PointerAlignment: Left QualifierAlignment: Left