aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/doc/gnat_rm
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2024-05-15 21:22:52 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2024-05-15 21:22:52 -0400
commite656656e711949ef42a7e284f7cf81ca56f37374 (patch)
treebcc138e837762b30b4a16044422de692fb14d058 /gcc/ada/doc/gnat_rm
parent0b7ebe5427a4af0956e0aed5e7432b98559ca7b5 (diff)
downloadgcc-e656656e711949ef42a7e284f7cf81ca56f37374.zip
gcc-e656656e711949ef42a7e284f7cf81ca56f37374.tar.gz
gcc-e656656e711949ef42a7e284f7cf81ca56f37374.tar.bz2
diagnostics: use unicode art for interprocedural depth
gcc/testsuite/ChangeLog: * gcc.dg/analyzer/out-of-bounds-diagram-1-emoji.c: Update expected output to use unicode for depth indication. * gcc.dg/analyzer/out-of-bounds-diagram-1-unicode.c: Likewise. gcc/ChangeLog: * text-art/theme.cc (ascii_theme::get_cppchar): Add cell_kind::INTERPROCEDURAL_*. (unicode_theme::get_cppchar): Likewise. * text-art/theme.h (theme::cell_kind): Likewise. * tree-diagnostic-path.cc: (thread_event_printer::print_swimlane_for_event_range): Use the above to get characters for indicating interprocedural stack depth activity, falling back to ascii. (selftest::test_interprocedural_path_1): Test with both ascii and unicode themes. (selftest::test_interprocedural_path_2): Likewise. (selftest::test_recursion): Likewise. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/ada/doc/gnat_rm')
0 files changed, 0 insertions, 0 deletions