commit | dd8aae69267bc63f8eca1de91ab2d38bded68775 | [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 | 924faa8cb5a7804e5822b19ff4eaaa7655bb9993 [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