This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r222599 - in /trunk/libstdc++-v3: ChangeLog pyt...
- From: devans at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Wed, 29 Apr 2015 22:50:31 -0000
- Subject: r222599 - in /trunk/libstdc++-v3: ChangeLog pyt...
Author: devans
Date: Wed Apr 29 22:50:31 2015
New Revision: 222599
URL: https://gcc.gnu.org/viewcvs?rev=222599&root=gcc&view=rev
Log:
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.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/python/libstdcxx/v6/xmethods.py
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/array.cc
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/deque.cc
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/list.cc
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/vector.cc