commit | b7d5865fef84832508eaa1ab5f73d041d43c1a02 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Oct 25 15:10:02 2021 -0700 |
committer | Steven Moreland <smoreland@google.com> | Wed Oct 27 16:30:02 2021 +0000 |
tree | e0626c56dd5d6d1772f362eee18e018c7435c71b | |
parent | fc55a53b4d8400c33c2cf0e8f061b1a32e138e3c [diff] |
Allow for unsigned byte constants (u8) For int32 constants, we can use something like 0xffffffff in order to express a 32-bit value. However, byte literals are automatically converted to 32-bit values. This is consistent with how integral promotion works in C. However, this can be annoying when trying to create 8-bit constants. So, the integer literal suffix 'u8' is added in order to represent byte literals. Fixes: 203492856 Test: aidl_integration_test, aidl_unittests Change-Id: Idc9c842306d6410cc979e21b6ad5d3423a87354d
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview