commit | 05170d340c84bc5ed94990dceec27cf832a834fc | [log] [tgz] |
---|---|---|
author | Bernie Innocenti <codewiz@google.com> | Thu Dec 24 18:42:31 2020 +0000 |
committer | Bernie Innocenti <codewiz@google.com> | Thu Dec 24 18:43:09 2020 +0000 |
tree | cac9b080be83d9a68c96bf19e25bf526b6632148 | |
parent | 3aaee013cc3929f5a80c3e65fff397a33b98aede [diff] |
Add explicit Result::ok() where missing This is part of a large-scale cleanup to remove operator bool() from android::base::expected. For more details, see aosp/1533001. Bug: 176148206 Change-Id: I32bc05da1d650bb04c941079c40f406383c57e84 Test: m checkbuild continuous_instrumentation_tests continuous_instrumentation_tests_api_coverage continuous_native_tests device-tests platform_tests Exempt-From-Owner-Approval: mechanical large-scale change
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.