Last active
November 21, 2025 08:24
-
-
Save MinHyeok-lee1/6913fb01eb82f467d9b0b1a1a37a70c8 to your computer and use it in GitHub Desktop.
.clang-format (example)
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 | |
| IndentWidth: 4 | |
| TabWidth: 4 | |
| UseTab: Never | |
| BreakBeforeBraces: Allman | |
| AllowShortFunctionsOnASingleLine: Empty | |
| IndentCaseLabels: true | |
| AlignConsecutiveAssignments: true | |
| AlignConsecutiveDeclarations: true | |
| AlignTrailingComments: true | |
| ColumnLimit: 100 | |
| PointerAlignment: Left | |
| ReferenceAlignment: Left | |
| NamespaceIndentation: All | |
| SortIncludes: false |
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: Google | |
| IndentWidth: 2 | |
| TabWidth: 2 | |
| UseTab: Never | |
| ColumnLimit: 100 | |
| AllowShortFunctionsOnASingleLine: Inline | |
| DerivePointerAlignment: false | |
| PointerAlignment: Left |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment