xref: /aosp_15_r20/system/chre/.clang-format (revision 84e339476a462649f82315436d70fd732297a399)
1*84e33947SAndroid Build Coastguard Worker#
2*84e33947SAndroid Build Coastguard Worker# Copyright (C) 2019 The Android Open Source Project
3*84e33947SAndroid Build Coastguard Worker#
4*84e33947SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License");
5*84e33947SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License.
6*84e33947SAndroid Build Coastguard Worker# You may obtain a copy of the License at
7*84e33947SAndroid Build Coastguard Worker#
8*84e33947SAndroid Build Coastguard Worker#      http://www.apache.org/licenses/LICENSE-2.0
9*84e33947SAndroid Build Coastguard Worker#
10*84e33947SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
11*84e33947SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS,
12*84e33947SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*84e33947SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and
14*84e33947SAndroid Build Coastguard Worker# limitations under the License.
15*84e33947SAndroid Build Coastguard Worker#
16*84e33947SAndroid Build Coastguard Worker
17*84e33947SAndroid Build Coastguard Worker# See https://clang.llvm.org/docs/ClangFormatStyleOptions.html for the
18*84e33947SAndroid Build Coastguard Worker# various options that can be configured and for the definitions of each
19*84e33947SAndroid Build Coastguard Worker# of the below options.
20*84e33947SAndroid Build Coastguard Worker
21*84e33947SAndroid Build Coastguard WorkerBasedOnStyle: Google
22*84e33947SAndroid Build Coastguard WorkerAllowShortBlocksOnASingleLine: false
23*84e33947SAndroid Build Coastguard WorkerAllowShortFunctionsOnASingleLine: Empty
24*84e33947SAndroid Build Coastguard WorkerCommentPragmas: NOLINT:.*
25*84e33947SAndroid Build Coastguard WorkerDerivePointerAlignment: false
26*84e33947SAndroid Build Coastguard WorkerIncludeBlocks: Preserve
27*84e33947SAndroid Build Coastguard WorkerPointerAlignment: Right
28*84e33947SAndroid Build Coastguard Worker
29*84e33947SAndroid Build Coastguard Worker---
30*84e33947SAndroid Build Coastguard WorkerLanguage: Java
31*84e33947SAndroid Build Coastguard WorkerDisableFormat: true
32*84e33947SAndroid Build Coastguard WorkerSortIncludes: false
33*84e33947SAndroid Build Coastguard Worker---
34