commit | 90b40f68d8714bcbb77b60ee92840fca556f978f | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Wed Jul 27 16:25:51 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Aug 01 11:55:42 2016 -0700 |
tree | ac237a564275e5177d6e0638f7e744deb5978b28 | |
parent | cf8000ebb5058af8efa9e5d76143474f98832768 [diff] |
Fix clang-tidy performance warnings in syste/core. * Use const reference type for parameters to avoid unnecessary copy. * Suppress warning of not using faster overloaded string find function. Bug: 30407689 Bug: 30411878 Change-Id: I6cfdbbd50cf5e8f3db6e5263076d3a17a9a791ee Test: build with WITH_TIDY=1 Merged-In: Ie79dbe21899867bc62031f8618bb1322b8071525