aboutsummaryrefslogtreecommitdiff
path: root/gcc/gdbhooks.py
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2018-04-10 14:37:09 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2018-04-10 14:37:09 +0000
commit672c767bf6dfbebc22062403e9e8cfc0f6e290ac (patch)
treebfe80d22f2084a40849834bf9d7f8b4f2c99b8ca /gcc/gdbhooks.py
parent5f302518627efd04b04a0da3269541fdfa2d7388 (diff)
downloadgcc-672c767bf6dfbebc22062403e9e8cfc0f6e290ac.zip
gcc-672c767bf6dfbebc22062403e9e8cfc0f6e290ac.tar.gz
gcc-672c767bf6dfbebc22062403e9e8cfc0f6e290ac.tar.bz2
Show pertinent parameter (PR c++/85110)
gcc/cp/ChangeLog: PR c++/85110 * call.c (get_fndecl_argument_location): Make non-static. * cp-tree.h (get_fndecl_argument_location): New decl. * typeck.c (convert_for_assignment): When complaining due to conversions for an argument, show the location of the parameter within the decl. gcc/testsuite/ChangeLog: PR c++/85110 * g++.dg/cpp1z/direct-enum-init1.C: Update for the cases where we now show the pertinent parameter. * g++.dg/diagnostic/aka2.C: Likewise. * g++.dg/diagnostic/param-type-mismatch-2.C: Likewise. From-SVN: r259282
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions