commit | a2b490908d03d77d3f385e86b24c929555bb79d5 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Wed Jul 27 15:22:01 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Wed Jul 27 17:58:57 2016 -0700 |
tree | 7ca6c7fd136d0a8f70191d8ed265f89bdb647e45 | |
parent | cab924fae5ec24da5b62b1f7253c772ab51031e2 [diff] |
Fix clang-tidy performance warnings in simpleperf. * Use const reference type for parameters to avoid unnecessary copy. * Use faster overloaded string find function. Bug: 30407689 Bug: 30411878 Change-Id: I2dac3ab1928fd51fe03c4d7889f17f3b165918f3 Test: build with WITH_TIDY=1