c++: use %D more
commitc2e846b539bb932d7f68f7e6b3e401c361cc3bf3
authorJason Merrill <jason@redhat.com>
Fri, 18 Jun 2021 09:45:02 +0000 (18 05:45 -0400)
committerJason Merrill <jason@redhat.com>
Wed, 4 May 2022 18:45:15 +0000 (4 14:45 -0400)
tree4969052cdefac15959e20764c39fe0abc3a577fc
parent4a2061610726becfa5158e418c69800f5634b4c1
c++: use %D more

There's no reason to call cxx_printable_name_translate here instead of using
%D in the format string.

gcc/cp/ChangeLog:

* error.cc (cp_print_error_function): Use %qD.
(function_category): Use %qD.
gcc/cp/error.cc