gcc/libstdc++-v3/testsuite
David Malcolm 591996bad7 C++: improve location of static_assert errors
gcc/cp/ChangeLog:
	* parser.c (cp_parser_unary_expression): Generate a location for
	"noexcept".
	(cp_parser_trait_expr): Generate and return a location_t,
	converting the return type from tree to cp_expr.
	(cp_parser_static_assert): Pass location of the condition to
	finish_static_assert, rather than that of the "static_assert"
	token, where available.

gcc/testsuite/ChangeLog:
	* g++.dg/cpp1y/static_assert3.C: New test case.

libstdc++-v3/ChangeLog:
	* testsuite/20_util/duration/literals/range.cc: Update expected
	line of a static_assert failure.

From-SVN: r255255
2017-11-29 22:07:32 +00:00
..
17_intro
18_support Add [[nodiscard]] attribute to std::launder 2017-11-24 00:00:46 +00:00
19_diagnostics
20_util C++: improve location of static_assert errors 2017-11-29 22:07:32 +00:00
21_strings Add [[nodiscard]] attribute to C++17 components 2017-11-23 22:11:21 +00:00
22_locale streambuf_iterator.h (istreambuf_iterator<>): Declare std::advance for istreambuf_iterator of char types to be friend. 2017-11-20 22:30:28 +00:00
23_containers PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
24_iterators Add [[nodiscard]] attribute to C++17 components 2017-11-23 22:11:21 +00:00
25_algorithms streambuf_iterator.h (istreambuf_iterator<>): Declare std::advance for istreambuf_iterator of char types to be friend. 2017-11-20 22:30:28 +00:00
26_numerics Implement LWG 2733 and LWG 2759 2017-11-14 20:11:33 +02:00
27_io Add [[nodiscard]] attribute to C++17 components 2017-11-23 22:11:21 +00:00
28_regex PR libstdc++/71500 restore C++11 compatibility in <regex> 2017-09-19 18:06:12 +01:00
29_atomics
30_threads 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
abi
backward
config
data
decimal Use __LONG_LONG_MAX__ instead of LONG_LONG_MAX in test 2017-10-19 14:56:55 +01:00
experimental Minor improvements to Filesystem tests 2017-11-15 18:22:43 +00:00
ext PR libstdc++/pr66689 - comp_ellint_3 and ellint_3 return garbage values 2017-11-19 01:01:50 +00:00
lib libstdc++.exp (check_v3_target_normal_mode): Add c++config.h include. 2017-10-24 20:20:12 +00:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters tr1.cc: Compile with -O0. 2017-11-06 21:15:48 +00:00
libstdc++-xmethods
performance
special_functions Fix failing tests caused by duplicate dg-options 2017-11-20 21:48:31 +00:00
tr1 Fix failing tests caused by duplicate dg-options 2017-11-20 21:48:31 +00:00
tr2
util Minor tweak to libstdc++ testsuite helper type 2017-11-11 00:10:07 +00:00
Makefile.am
Makefile.in Enable building libstdc++-v3 with Intel CET 2017-11-17 22:28:10 +01:00