gcc/libstdc++-v3/testsuite
Benjamin Kosnik 26c691a88b re PR libstdc++/12854 (libstdc++ vs. -Weffc++)
2004-05-22  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/12854
	Fixups for -Weffc++.
	* include/bits/basic_string.h (basic_string::operator=): Return
	pointer to this instead of result of assign. Although redundant,
	this doesn't impact resultant codegen.

	* include/bits/locale_facets.h (__numpunct_cache): Declare
	assignment opxserator and copy constructor private.
	(__timepunct_cache): Same.
	(__moneypunct_cache): Same.
	(collate): Use member initialization list for _M_c_locale_collate.
	* config/locale/gnu/messages_members.h: Same.
	* config/locale/gnu/time_members.h (__timepunct): Same.
	* src/codecvt.cc: Use member initialization list to initialize
	_M_c_locale_codecvt.
	* src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok.
	* config/os/gnu-linux/ctype_noninline.h: Same.
	* src/locale.cc (_Impl): Same.
	* src/locale_init.cc: Same.
	* src/localename.cc: Same.

	* include/bits/basic_ios.h (basic_ios): Complete member
	initialization list.
	* include/bits/istream.tcc (basic_istream::sentry): Same.
	* include/bits/ostream.tcc (basic_ostream::sentry): Same.
	* include/bits/fstream.tcc (basic_filebuf): Add _M_lock and
	_M_pback to member initialization list.
	* include/std/std_streambuf.h: Same.
	* include/std/std_sstream.h: Same, for _M_mode.
	* src/ios.cc (ios_base): Same.

	* include/ext/rope: Make derived classes match exception

	 specifications. Add copy constructors and assignment operators.

	* include/debug/safe_base.h (_Safe_sequence_base): Declare copy
	constructor and assignment operator protected.
	(_Safe_iterator_base): Same.
	* include/debug/formatter.h (_Error_formatter): Define copy
	constructor and assignment operator.

	* include/backward/strstream: Declare assignment operator and copy
	constructor private.

From-SVN: r82153
2004-05-22 23:46:34 +00:00
..
17_intro locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
18_support 9555-ic.cc: Clarify assertion, set test variable to false before assert. 2004-04-19 19:00:09 +00:00
19_diagnostics locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
20_util 14176.cc: New. 2004-03-12 21:11:51 +00:00
21_strings istream.tcc (operator>>(basic_istream<>&, basic_string<>&)): Use a temporary buffer, thus avoiding reallocation for common case. 2004-05-20 22:06:40 +00:00
22_locale re PR libstdc++/12854 (libstdc++ vs. -Weffc++) 2004-05-22 23:46:34 +00:00
23_containers testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator private. 2004-05-22 21:51:07 +00:00
24_iterators 1.cc: Provide explicit instantiations for non-weak systems. 2004-03-04 18:11:08 +00:00
25_algorithms 1.cc: Provide explicit instantiations for non-weak systems. 2004-03-04 18:11:08 +00:00
26_numerics std_complex.h (pow(const complex&, const _Tp&), [...]): Fully qualify with std:: a few calls. 2004-03-11 19:05:19 +00:00
27_io PR libstdc++/15002 (continued again) 2004-04-25 15:45:13 +00:00
backward testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to CXXFLAGS_save. 2004-03-04 23:29:44 +00:00
config default.exp: Update with comments. 2004-02-27 22:01:32 +00:00
data cin_unget-1.txt: New. 2003-08-26 11:46:22 +00:00
demangle [multiple changes] 2004-02-27 03:21:16 +00:00
ext 9555-ic.cc: Clarify assertion, set test variable to false before assert. 2004-04-19 19:00:09 +00:00
lib re PR libstdc++/15489 (testsuite_files determined incorrectly) 2004-05-18 18:42:27 +00:00
libstdc++-dg default.exp: Update with comments. 2004-02-27 22:01:32 +00:00
performance list_sort_search.cc: Minor formatting fixes. 2004-04-12 16:11:21 +00:00
thread Update comment to reflect test. 2004-03-29 23:42:05 +00:00
abi_check.cc abi_check.cc: Add unistd.h. 2004-05-22 17:08:02 +00:00
Makefile.am abi.html: New. 2004-05-13 12:50:53 +00:00
Makefile.in abi.html: New. 2004-05-13 12:50:53 +00:00
printnow.c libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
testsuite_abi.cc re PR libstdc++/15090 (-fno-for-scope vs. libstdc++) 2004-05-13 16:29:39 +00:00
testsuite_abi.h abi.html: New. 2004-05-13 12:50:53 +00:00
testsuite_allocator.cc *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
testsuite_allocator.h *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
testsuite_character.h locale_facets.tcc (num_get<>::_M_extract_float, [...]): Prefer plain operator== to traits::eq(). 2004-03-06 09:00:14 +00:00
testsuite_hooks.cc re PR libstdc++/15090 (-fno-for-scope vs. libstdc++) 2004-05-13 16:29:39 +00:00
testsuite_hooks.h testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator private. 2004-05-22 21:51:07 +00:00
testsuite_io.h basic_ios.h (basic_ios::setstate): Revert. 2003-12-02 02:48:51 +00:00
testsuite_performance.h check_performance: Only compile with $THREAD_FLAG when test is marked to require it. 2004-01-30 08:24:27 +00:00