commit | cb057c2e6bf23b43df49282c0db26b663e4535f7 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Aug 03 15:48:25 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Thu Aug 03 17:38:27 2017 -0700 |
tree | 13c5977423159cd4e0be6bc3b2936c398b6004c7 | |
parent | 10288989e36fee33e50e2a79bc6111b47cd729bb [diff] |
Fix clang-tidy performance warnings in frameworks/native. * Use const reference parameter type to avoid unnecessary copy. * Use more efficient overloaded string methods. * Use const reference type for loop index variables to avoid unnecessary copy. Bug: 30407689 Bug: 30411878 Bug: 30413223 Test: build with WITH_TIDY=1 Change-Id: I75ed62e2cb9939878b8932ed512ceb7e241edd6f