Move system-clang-format to a central location.

So that system/core clang-format can be used in more places.

Bug: 122835115
Test: manual
Change-Id: I233a5003c4229126f37a89e90eac4a75dc5ad104
This commit is contained in:
Steven Moreland
2019-01-18 14:23:25 -08:00
parent 63d91fad6a
commit 1aa839c275
3 changed files with 21 additions and 0 deletions

1
scripts/OWNERS Normal file
View File

@@ -0,0 +1 @@
per-file system-clang-format,system-clang-format-2 = enh@google.com,smoreland@google.com

View File

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

View File

@@ -0,0 +1,9 @@
BasedOnStyle: Google
AllowShortFunctionsOnASingleLine: Inline
ColumnLimit: 100
CommentPragmas: NOLINT:.*
DerivePointerAlignment: false
IndentWidth: 2
PointerAlignment: Left
TabWidth: 2
UseTab: Never