Last active
October 2, 2017 17:36
-
-
Save LemonPi/4585287e025875ba631057affe700383 to your computer and use it in GitHub Desktop.
Clang format options
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
# put in project root | |
--- | |
# We'll use defaults from the LLVM style, but with 4 columns indentation. | |
BasedOnStyle: LLVM | |
IndentWidth: 4 | |
--- | |
Language: Cpp | |
# Force pointers to the type for C++. | |
DerivePointerAlignment: false | |
PointerAlignment: Left | |
AllowShortBlocksOnASingleLine: false | |
AllowShortFunctionsOnASingleLine: None | |
AlwaysBreakTemplateDeclarations: true | |
AllowShortIfStatementsOnASingleLine: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment