commit | 8a019dd0040bedf5078e4d18e06a244a675b80e8 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Fri Aug 12 15:49:55 2016 -0700 |
committer | Chih-hung Hsieh <chh@google.com> | Tue Aug 23 16:26:55 2016 +0000 |
tree | cc88ba631054cc7f3fce148e6491a943f94746a5 | |
parent | cdfbd158dc4b4ca807105703dd3ea4f1b1dd8588 [diff] |
Fix clang-tidy warnings in libbcc. These are proposed changes, looking for upstream changes. * Add explicit keyword to conversion constructors. Bug: 28341362 * Use const reference type for read-only parameters. Bug: 30407689 * Use const reference type for loop index variables to avoid unnecessary copy. Bug: 30413223 * Use faster overloaded string find function. Bug: 30411878 Test: build with WITH_TIDY=1 Change-Id: I2a083651ba7aa7cb1b88fb84738d7caf37b4f511