aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-prefetch.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2021-06-18 16:04:28 -0400
committerJason Merrill <jason@redhat.com>2021-12-03 17:21:12 -0500
commitf78eaffd1538efb46953a8bf90e9b95661fcfb33 (patch)
treea595c47d41da9f60490e44bfd4fba9ecdfc938f2 /gcc/tree-ssa-loop-prefetch.c
parent7bfe82e5a850621f86867072022536c3f717d54c (diff)
downloadgcc-f78eaffd1538efb46953a8bf90e9b95661fcfb33.zip
gcc-f78eaffd1538efb46953a8bf90e9b95661fcfb33.tar.gz
gcc-f78eaffd1538efb46953a8bf90e9b95661fcfb33.tar.bz2
c++: avoid redundant scope in diagnostics
We can make some function signatures shorter to print by omitting redundant nested-name-specifiers in the rest of the declarator. gcc/cp/ChangeLog: * error.c (current_dump_scope): New variable. (dump_scope): Check it. (dump_function_decl): Set it. gcc/testsuite/ChangeLog: * g++.dg/diagnostic/scope1.C: New test.
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
0 files changed, 0 insertions, 0 deletions