This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove some cleanups from the rust code
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 12 Nov 2016 14:18:02 -0500
- Subject: [binutils-gdb] Remove some cleanups from the rust code
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 8001f1183f32d674fa3e9af1cca16856afdffc3e ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 8001f1183f32d674fa3e9af1cca16856afdffc3e
Remove some cleanups from the rust code
This removes some cleanups from the rust code, in favor of C++ objects
with destructors.
2016-11-12 Tom Tromey <tom@tromey.com>
* rust-exp.y (super_name): Use std::vector.
(lex_number): Use std::string.
(convert_params_to_types): Return std::vector.
(convert_ast_to_type, convert_name): Update.
* rust-lang.c (rust_get_disr_info): Use unique_xmalloc_ptr.