Update .clang-format

This commit is contained in:
HALX99 2021-04-24 17:11:04 +08:00 committed by GitHub
parent 01f2ce3a2d
commit f97a6819e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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