| commit | 2b4909278a4c664b9f457efbcc475ed288b730ac | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tromey@adacore.com> | Tue Apr 15 12:29:50 2025 -0600 |
| committer | Tom Tromey <tromey@adacore.com> | Thu Apr 17 09:25:55 2025 -0600 |
| tree | cff38301a403690474689dc1e08fd4f412d89f70 | |
| parent | 64a6faa2b6ce9a4c8049fe55a5247733b4aa3cfd [diff] |
Clean up value_struct_elt_bitpos value_struct_elt_bitpos is weird: it takes an in/out value parameter, and it takes an error string parameter. However, it only has a single caller, which never uses the "out" value. I think it was done this way to mimic value_struct_elt. However, value_struct_elt is pretty ugly and I don't think it's worth imitating. This patch cleans up value_struct_elt_bitpos a bit. Approved-By: Simon Marchi <simon.marchi@efficios.com>