xref: /base/powermgr/power_manager/.clang-format (revision 5ccb8f90)
15ccb8f90Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
25ccb8f90Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
35ccb8f90Sopenharmony_ci# you may not use this file except in compliance with the License.
45ccb8f90Sopenharmony_ci# You may obtain a copy of the License at
55ccb8f90Sopenharmony_ci#
65ccb8f90Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
75ccb8f90Sopenharmony_ci#
85ccb8f90Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
95ccb8f90Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
105ccb8f90Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
115ccb8f90Sopenharmony_ci# See the License for the specific language governing permissions and
125ccb8f90Sopenharmony_ci# limitations under the License.
135ccb8f90Sopenharmony_ci
145ccb8f90Sopenharmony_ciBasedOnStyle: Webkit
155ccb8f90Sopenharmony_ciColumnLimit: 120
165ccb8f90Sopenharmony_ciPointerAlignment: Left
175ccb8f90Sopenharmony_ciAlignAfterOpenBracket: DontAlign
185ccb8f90Sopenharmony_ciContinuationIndentWidth: 4
195ccb8f90Sopenharmony_ciAlignTrailingComments: true
205ccb8f90Sopenharmony_ciAlignConsecutiveMacros: Consecutive
215ccb8f90Sopenharmony_ciIndentCaseLabels: true
225ccb8f90Sopenharmony_ciBreakBeforeBinaryOperators: None
235ccb8f90Sopenharmony_ciSpaceBeforeParens: ControlStatementsExceptControlMacros
245ccb8f90Sopenharmony_ciSpacesInCStyleCastParentheses: false
255ccb8f90Sopenharmony_ciAlignEscapedNewlines: Left
265ccb8f90Sopenharmony_ciNamespaceIndentation: None
275ccb8f90Sopenharmony_ciFixNamespaceComments: true
285ccb8f90Sopenharmony_ciBreakConstructorInitializers: AfterColon
295ccb8f90Sopenharmony_ciAlignArrayOfStructures: Left
305ccb8f90Sopenharmony_ciAllowShortFunctionsOnASingleLine: Empty
315ccb8f90Sopenharmony_ciAllowShortLambdasOnASingleLine: Empty
325ccb8f90Sopenharmony_ciAlwaysBreakTemplateDeclarations: Yes
335ccb8f90Sopenharmony_ciSpaceInEmptyBlock: false
345ccb8f90Sopenharmony_ciLambdaBodyIndentation: Signature
355ccb8f90Sopenharmony_ciBreakBeforeTernaryOperators: false
365ccb8f90Sopenharmony_ciCpp11BracedListStyle: true
375ccb8f90Sopenharmony_ciSpaceAroundPointerQualifiers: Both
38