commit | 5970d0a5dc54ec30b3434dd6a23305233698c9c7 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Tue Mar 08 07:56:13 2022 |
committer | Jiyong Park <jiyong@google.com> | Wed Mar 09 10:08:34 2022 |
tree | 64b6df23b979c704e8be547cf49df74f5d4a6105 | |
parent | 1caffe38d6f5a1e53db6fdc5075642be90eca85e [diff] |
Fix or suppress tidy warnings-as-errors. Use std::map instead of KeyedVector (deprecated) in order to avoid unnecessary (and implicit) initialization of the value type. KeyedVector does it even when only the key is neeed (e.g. indexOfKey). std::map doesn't have such a problem. Bug: 222775179 Test: unset WITH_TIDY; CLANG_ANALYZER_CHECKS=1 make -k tidy-frameworks-native-libs-binder Change-Id: I548fc96a34bac9c7135e206983150948dbca57d4