Convert "typedef struct foo { ... } bar" into "using bar = struct foo { ... }".
Variant where typedef is on its own line.
Generated by a script written by Claude Code.
Approved-By: Tom Tromey <tom@tromey.com>
/* The instruction environment needed to find single-step breakpoints. */
-typedef
-struct instruction_environment
+using inst_env_type = struct instruction_environment
{
unsigned long reg[NUM_GENREGS];
unsigned long preg[NUM_SPECREGS];
int xflag_found;
int disable_interrupt;
enum bfd_endian byte_order;
-} inst_env_type;
+};
/* Machine-dependencies in CRIS for opcodes. */