summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2019-02-03 13:36:02 +0800
committerdianlujitao <dianlujitao@lineageos.org>2019-02-03 13:36:02 +0800
commitd723625ea80a9511d59f934f3d3a9681e01e922b (patch)
tree334e7d41f04cc06b6e80949e78f73acbf57aed5d
parent986bd645db55b7042e39d5f3bb2c9847ca82f856 (diff)
downloadandroid_hardware_lineage_livedisplay-d723625ea80a9511d59f934f3d3a9681e01e922b.tar.gz
android_hardware_lineage_livedisplay-d723625ea80a9511d59f934f3d3a9681e01e922b.tar.bz2
android_hardware_lineage_livedisplay-d723625ea80a9511d59f934f3d3a9681e01e922b.zip
livedisplay: Add clang-format from hardware/interfaces
Change-Id: I5ce5af6fa53ac7f895167040144c89ed12430b06
-rw-r--r--.clang-format24
1 files changed, 24 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..9b3f9d9
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,24 @@
+#
+# Copyright (C) 2017 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.
+#
+
+BasedOnStyle: Google
+CommentPragmas: NOLINT:.*
+DerivePointerAlignment: false
+AllowShortFunctionsOnASingleLine: Inline
+ColumnLimit: 100
+TabWidth: 4
+UseTab: Never
+IndentWidth: 4