aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorSeungjae Yoo <seungjaeyoo@google.com>2023-04-17 16:35:32 +0900
committerSeungjae Yoo <seungjaeyoo@google.com>2023-04-18 15:58:01 +0900
commit6e7e4424f554808917147253e3dbda1e6a7aca77 (patch)
tree19d3c7e3bbcf8c0b02c176897339dc527735c832 /.clang-format
parentf0058e9439a3206ed5f61b6864044abd96d539f7 (diff)
downloadwmediumd-6e7e4424f554808917147253e3dbda1e6a7aca77.tar.gz
Apply clang-format and bpfmt
Bug: 278482807 Test: m Change-Id: Ib528da9a9992a098ffffcb031bee32faee0427aa
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format21
1 files changed, 21 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..c8e6173
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,21 @@
+#
+# Copyright (C) 2023 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# See https://clang.llvm.org/docs/ClangFormatStyleOptions.html for the
+# various options that can be configured and for the definitions of each
+# of the below options.
+
+BasedOnStyle: Google