vold: use system-clang-format
Link .clang-format to the standard .clang-format file (4-space-indent version) from build/soong, rather than use a custom file. Among other changes, the standard file has the "IncludeBlocks: Preserve" setting, so include blocks stay in order. Don't actually reformat all the code yet. Test: Tried 'clang-format -i $(find . -name \*.cpp -o -name \*.h)' and checked that the changes look sane. Change-Id: I11ecbd03b31e44ba7b3e01175a6fc317f8173ab0
This commit is contained in:
parent
88a19b6fe1
commit
f220170923
1 changed files with 1 additions and 11 deletions
|
@ -1,11 +0,0 @@
|
|||
BasedOnStyle: Google
|
||||
AccessModifierOffset: -2
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
ColumnLimit: 100
|
||||
CommentPragmas: NOLINT:.*
|
||||
DerivePointerAlignment: false
|
||||
IndentWidth: 4
|
||||
PointerAlignment: Left
|
||||
TabWidth: 4
|
||||
UseTab: Never
|
||||
PenaltyExcessCharacter: 32
|
1
.clang-format
Symbolic link
1
.clang-format
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../build/soong/scripts/system-clang-format
|
Loading…
Reference in a new issue