this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

QOL: .clang-format

alice d5349ae6 d5ef398c

+89
+89
.clang-format
··· 1 + # Based on LLVM coding standards 2 + BasedOnStyle: LLVM 3 + 4 + # Use 4 spaces for indentation 5 + IndentWidth: 4 6 + 7 + # Use 4 spaces for continuations 8 + ContinuationIndentWidth: 4 9 + 10 + # Allow short functions to be on a single line 11 + AllowShortFunctionsOnASingleLine: false 12 + 13 + # Brace wrapping 14 + BraceWrapping: 15 + AfterClass: false 16 + AfterControlStatement: true 17 + AfterEnum: false 18 + AfterFunction: true 19 + AfterNamespace: false 20 + AfterStruct: false 21 + AfterUnion: false 22 + BeforeCatch: false 23 + BeforeElse: true 24 + IndentBraces: false 25 + SplitEmptyFunction: false 26 + SplitEmptyRecord: false 27 + SplitEmptyNamespace: false 28 + 29 + # Column limit for wrapping 30 + ColumnLimit: 0 31 + 32 + # Break before braces for functions and classes 33 + BreakBeforeBraces: Allman 34 + 35 + # Function declaration return type alignment 36 + AlignTrailingComments: true 37 + AlignAfterOpenBracket: true 38 + AlignEscapedNewlines: Left 39 + AlignOperands: true 40 + AlignConsecutiveAssignments: false 41 + AlignConsecutiveDeclarations: false 42 + 43 + # Control statements 44 + AllowShortIfStatementsOnASingleLine: true 45 + AllowShortLoopsOnASingleLine: false 46 + IndentCaseLabels: true 47 + 48 + # Pointer alignment 49 + PointerAlignment: Left 50 + 51 + # Space before and after operators 52 + SpaceBeforeParens: ControlStatements 53 + SpaceBeforeRangeBasedForLoopColon: true 54 + SpacesBeforeTrailingComments: 1 55 + SpacesInCStyleCastParentheses: false 56 + SpacesInContainerLiterals: false 57 + SpacesInParentheses: false 58 + 59 + # Namespace indentation 60 + NamespaceIndentation: None 61 + 62 + # Empty line before access modifiers in classes 63 + EmptyLineBeforeAccessModifier: LogicalBlock 64 + 65 + # Add space between statements 66 + SpaceBeforeAssignmentOperators: true 67 + 68 + # No space before opening brackets 69 + SpaceBeforeSquareBrackets: false 70 + 71 + # No space before or after '<' and '>' in template argument lists 72 + SpacesInAngles: false 73 + 74 + # Handling include statements 75 + IncludeBlocks: Preserve 76 + IncludeCategories: 77 + - Regex: '^<.*\.h>' 78 + Priority: 1 79 + - Regex: '^".*\.h"' 80 + Priority: 2 81 + 82 + # Keep empty lines at the start of blocks 83 + KeepEmptyLinesAtTheStartOfBlocks: true 84 + 85 + # Indentation style for preprocessor directives 86 + IndentPPDirectives: AfterHash 87 + 88 + # Wrap comments to fit within column limit 89 + ReflowComments: false