Last active
December 18, 2018 18:42
-
-
Save flamewing/7cb8a67bacee3311ce6453aa4b03ad44 to your computer and use it in GitHub Desktop.
A .clang-format file with some good default values
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
Language: Cpp | |
BasedOnStyle: LLVM | |
AccessModifierOffset: -4 | |
AlignAfterOpenBracket: AlwaysBreak | |
AlignConsecutiveAssignments: true | |
AlignConsecutiveDeclarations: true | |
AlwaysBreakTemplateDeclarations: Yes | |
IndentPPDirectives: AfterHash | |
IndentWidth: 4 | |
KeepEmptyLinesAtTheStartOfBlocks: false | |
NamespaceIndentation: All | |
PointerAlignment: Left | |
SpacesInContainerLiterals: false | |
TabWidth: 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment