aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.cc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2023-11-14 19:48:48 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2023-11-14 19:48:48 -0500
commit2220263f0e032a6af3cea44a17735833baa5fd93 (patch)
tree06a7f32e01dda8a09ea4be65592a28343c2c74d5 /gcc/cp/tree.cc
parenteaedb56a0f001ab619d9d699dabd7dc130b59143 (diff)
downloadgcc-2220263f0e032a6af3cea44a17735833baa5fd93.zip
gcc-2220263f0e032a6af3cea44a17735833baa5fd93.tar.gz
gcc-2220263f0e032a6af3cea44a17735833baa5fd93.tar.bz2
json.cc: use SELFTEST_LOCATION in selftests
gcc/ChangeLog: * json.cc (selftest::assert_print_eq): Add "loc" param and use ASSERT_STREQ_AT. (ASSERT_PRINT_EQ): New macro. (selftest::test_writing_objects): Use ASSERT_PRINT_EQ to capture source location of assertion. (selftest::test_writing_arrays): Likewise. (selftest::test_writing_float_numbers): Likewise. (selftest::test_writing_integer_numbers): Likewise. (selftest::test_writing_strings): Likewise. (selftest::test_writing_literals): Likewise. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/cp/tree.cc')
0 files changed, 0 insertions, 0 deletions