Last active
February 16, 2024 08:59
-
-
Save halby24/263620321d0b3637e4788983e68c6cbc to your computer and use it in GitHub Desktop.
.clang-format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BasedOnStyle: Google | |
PointerAlignment: Left | |
IndentWidth: 4 | |
# ColumnLimit: 200 | |
BinPackArguments: true | |
BinPackParameters: true | |
AlignAfterOpenBracket: Align | |
AllowShortBlocksOnASingleLine: Always | |
AllowShortCaseLabelsOnASingleLine: true | |
AllowShortIfStatementsOnASingleLine: true | |
AllowShortLambdasOnASingleLine: All | |
AllowShortLoopsOnASingleLine: true | |
AllowShortFunctionsOnASingleLine: All | |
AlignTrailingComments: true | |
AlwaysBreakAfterReturnType: None | |
IndentPPDirectives: BeforeHash | |
BreakBeforeBraces: Custom | |
AlignEscapedNewlines: DontAlign | |
BraceWrapping: | |
AfterClass: true | |
AfterEnum: true | |
AfterStruct: true | |
AfterFunction: true | |
AfterNamespace: true | |
AfterUnion: true | |
AfterExternBlock: true | |
AfterControlStatement: true | |
SplitEmptyFunction: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment