commit | 8de4200738fa617abc7085ccacab841aee00fe55 | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Wed Sep 23 12:51:11 2020 -0700 |
committer | Eric Jeong <ericjeong@google.com> | Tue Sep 29 13:33:54 2020 -0700 |
tree | 08fb64eb25f280c7f77bdbe39d1b8af1887b042b | |
parent | a1c630dad9094aa7d2aeec2f1b57f7d322e85660 [diff] |
Remove SortPriority from .clang-format - SortPriority is supported by local clang client but doesn't work with repo upload. Bug: 168720830 Bug: 169456588 Test: repo upload from packages/services/Car/cpp should work Change-Id: I44f159d13a3551c90e27f9a856ee9e0a1d66637a
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.