mirror of https://github.com/axmolengine/axmol.git
Update .clang-format
This commit is contained in:
parent
e636ef1c80
commit
f3090a800e
|
@ -1,5 +1,5 @@
|
|||
# This file is copy from https://github.com/google/angle with some modifications
|
||||
# Defines the AXIS style for automatic reformatting.
|
||||
# Defines the axmol style for automatic reformatting.
|
||||
# https://code.google.com/p/angleproject/wiki/CodingStandard
|
||||
# See Clang docs: http://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
||||
BasedOnStyle: Chromium
|
||||
|
@ -36,6 +36,9 @@ BraceWrapping:
|
|||
# Keeps extern "C" blocks unindented.
|
||||
AfterExternBlock: false
|
||||
|
||||
# Lambda body indentation
|
||||
LambdaBodyIndentation: OuterScope
|
||||
|
||||
# Indent case labels.
|
||||
IndentCaseLabels: false
|
||||
|
||||
|
@ -61,4 +64,4 @@ IndentPPDirectives: AfterHash
|
|||
# Include blocks style
|
||||
IncludeBlocks: Preserve
|
||||
UseTab: Never
|
||||
BreakConstructorInitializers: BeforeComma
|
||||
BreakConstructorInitializers: BeforeComma
|
||||
|
|
Loading…
Reference in New Issue