This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Use std::vector in add_using_directive
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 09 Sep 2017 19:50:30 -0400
- Subject: [binutils-gdb] Use std::vector in add_using_directive
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT eb1e02fd05688c28686a02f197c5e7cb0a5d6a27 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: eb1e02fd05688c28686a02f197c5e7cb0a5d6a27
Use std::vector in add_using_directive
This changes add_using_directive to accept a std::vector and then
changes the callers. This allows removing a cleanup.
ChangeLog
2017-09-09 Tom Tromey <tom@tromey.com>
* namespace.h (add_using_directive): Update.
* namespace.c (add_using_directive): Change type of excludes to
std::vector.
* dwarf2read.c (read_import_statement): Use std::vector.
(read_namespace): Update.
* cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.