OSDN Git Service

vold: use system-clang-format
authorEric Biggers <ebiggers@google.com>
Mon, 16 Sep 2019 18:45:17 +0000 (11:45 -0700)
committerEric Biggers <ebiggers@google.com>
Mon, 16 Sep 2019 19:00:40 +0000 (12:00 -0700)
commitf2201709233e29e5d943937a9593891a140dc4cd
tree31905c12248eaa714a953fb15f81982edebb1e2e
parent88a19b6fe18c45bb7d087ad3a897fd4665e9e627
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
.clang-format [changed from file to symlink]