mirror of https://github.com/axmolengine/axmol.git
Update .clang-format
This commit is contained in:
parent
01f2ce3a2d
commit
f97a6819e8
|
@ -1,10 +1,11 @@
|
|||
# This file is copy from https://github.com/microsoft/STL with some modifications
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
|
||||
# https://releases.llvm.org/12.0.0/tools/clang/docs/ClangFormatStyleOptions.html
|
||||
|
||||
---
|
||||
# Language: Cpp
|
||||
Language: Cpp11
|
||||
BasedOnStyle: LLVM
|
||||
# AccessModifierOffset: -2
|
||||
AccessModifierOffset: -4
|
||||
|
@ -181,4 +182,4 @@ SpaceAfterCStyleCast: true
|
|||
# - QT_REQUIRE_VERSION
|
||||
# NOTE: _STD_BEGIN, _STD_END, etc. aren't macros for complete statements, but telling
|
||||
# clang-format that they are produces the behavior that we want (with no block indentation).
|
||||
UseTab: Never
|
||||
UseTab: Never
|
||||
|
|
Loading…
Reference in New Issue