This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 3/5] Use std::string, std::vector in rust-lang.c
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> So I think we should move the variable declaration to the
Pedro> initialization line, to avoid default constructing the variable
Pedro> and then resetting it afterwards, as the compiler may
Pedro> not be smart enough to elide that.
I think so too -- I had avoided this on account of earlier objections to
this style.
Tom