This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Implement printing of rvalue reference types and values
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 04 Aug 2017 05:37:59 -0400
- Subject: [binutils-gdb] Implement printing of rvalue reference types and values
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT e1cb3213476485a01aa11ecedfa186e386cb4bdb ***
Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: e1cb3213476485a01aa11ecedfa186e386cb4bdb
Implement printing of rvalue reference types and values
This patch provides the ability to print out names of rvalue reference types
and values of those types. This is done in full similarity to regular
references, and as with them, we don't print out "const" suffix because all
rvalue references are const.
gdb/ChangeLog
PR gdb/14441
* c-typeprint.c (c_print_type, c_type_print_varspec_prefix)
(c_type_print_modifier, c_type_print_varspec_suffix)
(c_type_print_base): Support printing rvalue reference types.
* c-valprint.c (c_val_print, c_value_print): Support printing
rvalue reference values.