diff options
| author | Matthieu Longo <matthieu.longo@arm.com> | 2026-02-20 10:45:27 +0000 |
|---|---|---|
| committer | Matthieu Longo <matthieu.longo@arm.com> | 2026-03-10 11:22:28 +0000 |
| commit | 995cf2f8feb57aa564eb4ec1191e3290affc574b (patch) | |
| tree | a5f36b8a35b2179e88d8f49e225bf9b021e732b1 /binutils/testsuite/binutils-all/kvx/pcrel_bundle32bits.s | |
| parent | 55c46eed2c8a132df2cd98cd0115ad6862604ca2 (diff) | |
| download | fsf-binutils-gdb-master.zip fsf-binutils-gdb-master.tar.gz fsf-binutils-gdb-master.tar.bz2 | |
This patch replaces the raw uint8[3] buffer used to represent RGB values
with a more convenient wrapper, rgb_color, around std::array<uint8_t, 3>.
It also changes the return type of ui_file_style::color::get_rgb to
rgb_color instead of filling a caller-provided buffer, and updates all
callers accordingly.
This expected benefit of this change consists in:
- removing the manual size handling.
- proving accessors without using hard-coded indexes.
- making the API safer.
- simplifying call sites.
This refactoring does not introduce any functional change.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'binutils/testsuite/binutils-all/kvx/pcrel_bundle32bits.s')
0 files changed, 0 insertions, 0 deletions
