commit | 84914f598e5d48b78243b7e523804a28a4baf1eb | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Mon Aug 07 06:35:51 2023 -0600 |
committer | Tom Tromey <tromey@adacore.com> | Tue Sep 05 11:03:00 2023 -0600 |
tree | 6e94a4e9e76cd3e358c051df710dc6a63ebb6922 | |
parent | cf1eca3cbbfe8b2092d867023df7dac4d00fa4ec [diff] |
Introduce type::is_array_like and value_to_array This adds the type::is_array_like method and the value_to_array function. The former can be used to see whether a given type is known to be "array-like". This is the currently the case for certain compiler-generated structure types; in particular both the Ada and Rust compilers do this.