]> gcc.gnu.org Git - gcc.git/commit
re PR libstdc++/65839 (xmethods need updating once gdb decides how to fix 18285)
authorDoug Evans <dje@google.com>
Wed, 29 Apr 2015 22:50:31 +0000 (22:50 +0000)
committerDoug Evans <devans@gcc.gnu.org>
Wed, 29 Apr 2015 22:50:31 +0000 (22:50 +0000)
commit8996b63b093db0afcaaa13c6bb79baf6439a60d0
tree048767fd59972361cef4a8feef8ae8c8577a891a
parent1dea42c94bf801399e23d7e952fa058f3541de4c
re PR libstdc++/65839 (xmethods need updating once gdb decides how to fix 18285)

PR libstdc++/65839
* python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
Replace all lookups of "bool" with this.
(get_std_size_type): New function.  Replace all lookups of std::size_t
with this.
(*Worker): New method get_result_type.
(DequeWorkerBase.__init__): New arg val_type.  All callers updated.
(ListWorkerBase.__init__): New arg val_type.  All callers updated.
(UniquePtrGetWorker.__init__): New arg elem_type.  All callers updated.
Delete setting of name, enabled.
(UniquePtrDerefWorker.__init__): New arg elem_type.  All callers
updated.  Delete setting of name.
(UniquePtrMethodsMatcher): Rewrite for consistency with all other
libstdc++ xmethod matchers.
* testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
* testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
* testsuite/libstdc++-xmethods/deque.cc: Ditto.
* testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
* testsuite/libstdc++-xmethods/list.cc: Ditto.
* testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
* testsuite/libstdc++-xmethods/vector.cc: Ditto.

From-SVN: r222599
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/xmethods.py
libstdc++-v3/testsuite/libstdc++-xmethods/array.cc
libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc
libstdc++-v3/testsuite/libstdc++-xmethods/deque.cc
libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc
libstdc++-v3/testsuite/libstdc++-xmethods/list.cc
libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc
libstdc++-v3/testsuite/libstdc++-xmethods/vector.cc
This page took 0.060226 seconds and 5 git commands to generate.