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:
1
scripts/OWNERS
Normal file
1
scripts/OWNERS
Normal file
@@ -0,0 +1 @@
|
||||
per-file system-clang-format,system-clang-format-2 = enh@google.com,smoreland@google.com
|
11
scripts/system-clang-format
Normal file
11
scripts/system-clang-format
Normal 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
|
9
scripts/system-clang-format-2
Normal file
9
scripts/system-clang-format-2
Normal file
@@ -0,0 +1,9 @@
|
||||
BasedOnStyle: Google
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
ColumnLimit: 100
|
||||
CommentPragmas: NOLINT:.*
|
||||
DerivePointerAlignment: false
|
||||
IndentWidth: 2
|
||||
PointerAlignment: Left
|
||||
TabWidth: 2
|
||||
UseTab: Never
|
Reference in New Issue
Block a user