Files
binutils-gdb/gdb/testsuite/gdb.base
Tom Tromey a9bbfbd85f Add support for __VA_OPT__
C++2a adds a "__VA_OPT__" feature that can be used to control the
pesky "," emission when the final (variable) argument of a variadic
macro is empty.  This patch implements this feature for gdb.  (A patch
to implement it for gcc is pending.)

gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

	* macroexp.c (get_next_token_for_substitution): New function.
	(substitute_args): Call it.  Check for __VA_OPT__.

gdb/testsuite/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

	* gdb.base/macscp.exp: Add __VA_OPT__ tests.
2017-09-27 07:51:33 -06:00
..
2017-07-17 20:29:37 +01:00
2017-07-20 18:28:01 +01:00
2017-02-08 19:03:25 +01:00
2017-01-01 10:52:34 +04:00
2017-05-18 16:31:40 +01:00
2017-09-27 07:51:33 -06:00
2017-01-01 10:52:34 +04:00
2015-12-21 12:51:54 -05:00
2017-09-19 12:15:35 -07:00
2017-09-19 12:15:35 -07:00