Last active
February 26, 2024 06:10
-
-
Save jakergrossman/b9cfd70032be276a1df09cc9c4f1d5d5 to your computer and use it in GitHub Desktop.
Preferred Formatting for clang-format
This file contains hidden or 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: LLVM | |
| BreakBeforeBraces: Linux | |
| UseTab: Always | |
| IndentWidth: 4 | |
| TabWidth: 4 | |
| LineEnding: LF | |
| AllowShortBlocksOnASingleLine: 'false' | |
| AllowShortCaseLabelsOnASingleLine: 'false' | |
| AllowShortIfStatementsOnASingleLine: Never | |
| AllowShortFunctionsOnASingleLine: Empty | |
| IndentCaseLabels: 'false' | |
| IndentCaseBlocks: 'false' | |
| DerivePointerAlignment: 'true' | |
| PointerAlignment: Left | |
| BreakAfterAttributes: Leave | |
| SortIncludes: 'false' | |
| SortUsingDeclarations: Never | |
| AlignAfterOpenBracket: BlockIndent | |
| PenaltyBreakBeforeFirstCallParameter: 9999 | |
| AlignEscapedNewlines: Left | |
| AlwaysBreakTemplateDeclarations: Yes | |
| AlwaysBreakAfterReturnType: All | |
| BreakStringLiterals: 'false' | |
| ReflowComments: False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment