commit | c40b23b135b0cc1d9022b6362d130129642043b6 | [log] [tgz] |
---|---|---|
author | Selim Gurun <sgurun@google.com> | Wed May 22 20:45:00 2019 -0700 |
committer | Selim Gurun <sgurun@google.com> | Sat May 25 06:32:51 2019 +0000 |
tree | 7835a60a00d0b09bd58459a3a38dd7a5bb0023c0 | |
parent | 14d5251ac77b8323cd82bccb1aa5f754e71557d5 [diff] |
Add a clang-format file to for native code. This is to address a review comment part of b/133193822. Bug: 133193822 Test: README file Change-Id: Ib28b47aca55686fb801a71e4c5c51179647495d4 (cherry picked from commit fbde1023fec9ed00fcf3f38f1ec5bec5597222c5)
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.