Skip to content

Instantly share code, notes, and snippets.

@satoruhiga
Last active August 29, 2015 13:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satoruhiga/9185325 to your computer and use it in GitHub Desktop.
Save satoruhiga/9185325 to your computer and use it in GitHub Desktop.
.clang-format setting
BasedOnStyle: Google
Standard: Cpp03
# BreakBeforeBraces: Allman
PointerBindsToType: true
DerivePointerBinding: false
# tab
UseTab: Always
TabWidth: 4
IndentWidth: 4
# constructor
ConstructorInitializerIndentWidth: 4
ConstructorInitializerAllOnOneLineOrOnePerLine: false
BreakConstructorInitializersBeforeComma: true
AccessModifierOffset: -4
MaxEmptyLinesToKeep: 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment