Mercurial > minori
diff .clang-format @ 369:47c9f8502269
*: clang-format all the things
I've edited the formatting a bit. Now pointer asterisks (and reference
ampersands) are on the variable instead of the type, as well as having
newlines for function braces (but nothing else)
author | Paper <paper@tflc.us> |
---|---|
date | Fri, 25 Jul 2025 10:16:02 -0400 |
parents | 862d0d8619f6 |
children |
line wrap: on
line diff
--- a/.clang-format Fri Jul 25 10:05:23 2025 -0400 +++ b/.clang-format Fri Jul 25 10:16:02 2025 -0400 @@ -1,10 +1,11 @@ --- BasedOnStyle: LLVM UseTab: ForIndentation -PointerAlignment: Left +PointerAlignment: Right ColumnLimit: 120 IndentWidth: 4 TabWidth: 4 +PPIndentWidth: 1 # hack!!! AccessModifierOffset: -4 @@ -13,7 +14,7 @@ IndentAccessModifiers: false IndentPPDirectives: AfterHash -BreakBeforeBraces: Attach +BreakBeforeBraces: WebKit BreakStringLiterals: true AlwaysBreakTemplateDeclarations: true