Skip to content
Snippets Groups Projects
Commit d0891f3a authored by David Malcolm's avatar David Malcolm
Browse files

pretty-print: add selftest of pp_format's stack


gcc/ChangeLog:
	* pretty-print-format-impl.h (pp_formatted_chunks::get_prev): New
	accessor.
	* pretty-print.cc (selftest::push_pp_format): New.
	(ASSERT_TEXT_TOKEN): New macro.
	(selftest::test_pp_format_stack): New test.
	(selftest::pretty_print_cc_tests): New.

Signed-off-by: default avatarDavid Malcolm <dmalcolm@redhat.com>
parent 34f01475
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment