diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-09-03 15:11:01 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2024-09-03 15:11:01 -0400 |
commit | d0891f3aa75d31744de728905f2f454e9d07ce54 (patch) | |
tree | 5bdad2d4b131ae54248c1523c657c1719160ff53 /gcc/expr.cc | |
parent | 34f01475611b422668a70744c79273c7019625f2 (diff) | |
download | gcc-d0891f3aa75d31744de728905f2f454e9d07ce54.zip gcc-d0891f3aa75d31744de728905f2f454e9d07ce54.tar.gz gcc-d0891f3aa75d31744de728905f2f454e9d07ce54.tar.bz2 |
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: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions