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
|
# 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
|
# https://code.google.com/p/angleproject/wiki/CodingStandard
|
||||||
# See Clang docs: http://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
# See Clang docs: http://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
||||||
BasedOnStyle: Chromium
|
BasedOnStyle: Chromium
|
||||||
|
@ -36,6 +36,9 @@ BraceWrapping:
|
||||||
# Keeps extern "C" blocks unindented.
|
# Keeps extern "C" blocks unindented.
|
||||||
AfterExternBlock: false
|
AfterExternBlock: false
|
||||||
|
|
||||||
|
# Lambda body indentation
|
||||||
|
LambdaBodyIndentation: OuterScope
|
||||||
|
|
||||||
# Indent case labels.
|
# Indent case labels.
|
||||||
IndentCaseLabels: false
|
IndentCaseLabels: false
|
||||||
|
|
||||||
|
@ -61,4 +64,4 @@ IndentPPDirectives: AfterHash
|
||||||
# Include blocks style
|
# Include blocks style
|
||||||
IncludeBlocks: Preserve
|
IncludeBlocks: Preserve
|
||||||
UseTab: Never
|
UseTab: Never
|
||||||
BreakConstructorInitializers: BeforeComma
|
BreakConstructorInitializers: BeforeComma
|
||||||
|
|
Loading…
Reference in New Issue