This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r245828 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Thu, 02 Mar 2017 03:43:49 -0000
- Subject: r245828 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: redi
Date: Thu Mar 2 03:43:49 2017
New Revision: 245828
URL: https://gcc.gnu.org/viewcvs?rev=245828&root=gcc&view=rev
Log:
PR libstdc++/79789 fix non-reserved names in headers
PR libstdc++/79789
* include/bits/hashtable_policy.h (__clp2): Use reserved names for
parameters and local variables.
* include/bits/ios_base.h (make_error_code, make_error_condition):
Likewise.
* include/bits/list.tcc (list::sort): Likewise.
* include/bits/mask_array.h (mask_array): Likewise.
* include/bits/regex.h (regex_token_iterator): Likewise.
* include/bits/slice_array.h (slice_array): Likewise.
* include/bits/stl_algo.h (__sample): Likewise.
* include/std/memory (undeclare_no_pointers): Likewise.
* include/std/type_traits (is_callable_v, is_nothrow_callable_v):
Likewise.
* libsupc++/exception_ptr.h (__dest_thunk): Likewise.
* testsuite/17_intro/headers/names.cc: New test.
Added:
trunk/libstdc++-v3/testsuite/17_intro/headers/names.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/hashtable_policy.h
trunk/libstdc++-v3/include/bits/ios_base.h
trunk/libstdc++-v3/include/bits/list.tcc
trunk/libstdc++-v3/include/bits/mask_array.h
trunk/libstdc++-v3/include/bits/regex.h
trunk/libstdc++-v3/include/bits/slice_array.h
trunk/libstdc++-v3/include/bits/stl_algo.h
trunk/libstdc++-v3/include/std/memory
trunk/libstdc++-v3/include/std/type_traits
trunk/libstdc++-v3/libsupc++/exception_ptr.h