commit | d737c3ed06f9aef6d68456288a5250c3893a8ca5 | [log] [tgz] |
---|---|---|
author | Cody Heiner <codyheiner@google.com> | Thu Feb 15 00:28:08 2024 +0000 |
committer | Cody Heiner <codyheiner@google.com> | Thu Feb 15 17:59:57 2024 -0800 |
tree | 3e38e7d37b12019bbcafdc674a550f829945e8d3 | |
parent | 03d191d6c98f6adf2382a2741b068b0260036679 [diff] |
Fix implicit narrowing conversion in generated C++ code Also updates `auto` types to explicit types in order to improve readability and make it clear how and why different integral types are being used. Note: the only manual change here is the change to `generate_cpp.cpp`. The rest of the changes were produced by running: `system/tools/aidl/tests/golden_test.sh update` Test: build succeeds when generating code within a library that uses -Wall -Werror flags (where it failed before this change). Test: device runs normally. Change-Id: I704e3322318d2fe327320b50519de1acbefc33f9
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview