commit | b1928add501e56685cc539a9090386596e3ec024 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Aug 03 13:56:49 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Thu Aug 03 13:58:05 2017 -0700 |
tree | 3fd9fc4e7a25431a91987c8467f4f722eacdaef5 | |
parent | 556ca0cb2a3887abc7ca0f95383364fbaa76e5db [diff] |
Fix clang-tidy performance warnings in system/core. * Use const reference parameter type to avoid unnecessary copy. * Use more efficient overloaded string methods. Bug: 30407689 Bug: 30411878 Test: build with WITH_TIDY=1 Change-Id: Ia5a00581e718d412255d6177e5a7c286cdfbec11