Add .clang-format to frameworks/av

Copy of platform/build/soong/scripts/system-clang-format's contents. Also remove other .clang-formats using the same style.

Change-Id: Ia9ea16daaf86741ddb476fda2edeace260933a77
Test: N/A
Bug: 196402418
This commit is contained in:
Santiago Seifert
2021-08-12 17:55:04 +00:00
parent c760dc13a0
commit d5b7324062
3 changed files with 13 additions and 2 deletions

13
.clang-format Normal file
View File

@@ -0,0 +1,13 @@
BasedOnStyle: Google
Standard: Cpp11
AccessModifierOffset: -2
AllowShortFunctionsOnASingleLine: Inline
ColumnLimit: 100
CommentPragmas: NOLINT:.*
DerivePointerAlignment: false
IncludeBlocks: Preserve
IndentWidth: 4
ContinuationIndentWidth: 8
PointerAlignment: Left
TabWidth: 4
UseTab: Never

View File

@@ -1 +0,0 @@
../../../../../../../build/soong/scripts/system-clang-format

View File

@@ -1 +0,0 @@
../../../../../build/soong/scripts/system-clang-format