gcc/libstdc++-v3/testsuite/21_strings/basic_string_view
Jonathan Wakely d69f1ec7d1 Add [[nodiscard]] attribute to C++17 components
* include/bits/fs_path.h (path::empty): Add nodiscard attribute.
	* include/bits/range_access.h (empty): Likewise.
	* include/std/string_view (basic_string_view::empty): Likewise.
	* testsuite/21_strings/basic_string_view/capacity/empty_neg.cc: New
	test.
	* testsuite/24_iterators/range_access_cpp17_neg.cc: New test.
	* testsuite/27_io/filesystem/path/query/empty_neg.cc: New test.

From-SVN: r255124
2017-11-23 22:11:21 +00:00
..
capacity Add [[nodiscard]] attribute to C++17 components 2017-11-23 22:11:21 +00:00
cons Update copyright years. 2017-01-01 13:07:43 +01:00
element_access Update copyright years. 2017-01-01 13:07:43 +01:00
inserters Update copyright years. 2017-01-01 13:07:43 +01:00
literals Update copyright years. 2017-01-01 13:07:43 +01:00
modifiers invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated. 2017-09-15 18:15:46 +02:00
operations invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated. 2017-09-15 18:15:46 +02:00
operators PR libstdc++/70483 make std::string_view fully constexpr 2017-09-11 22:47:41 +01:00
range_access PR libstdc++/70483 make std::string_view fully constexpr 2017-09-11 22:47:41 +01:00
requirements Update copyright years. 2017-01-01 13:07:43 +01:00
types Update copyright years. 2017-01-01 13:07:43 +01:00
include.cc Update copyright years. 2017-01-01 13:07:43 +01:00
typedefs.cc Update copyright years. 2017-01-01 13:07:43 +01:00