aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-11-06 20:41:54 -0500
committerJason Merrill <jason@redhat.com>2020-11-09 15:16:38 -0500
commit05b03452db6a520091aed254d3c399caed714b15 (patch)
tree282e4a45f1682c051cda8ed71b257c7564135375 /gcc/cp/parser.c
parent38b17c27ce5a8e0cc5baa14697d4b5542b91b9d1 (diff)
downloadgcc-05b03452db6a520091aed254d3c399caed714b15.zip
gcc-05b03452db6a520091aed254d3c399caed714b15.tar.gz
gcc-05b03452db6a520091aed254d3c399caed714b15.tar.bz2
c++: Improve error location for class using-decl.
We should use the location of the using-declaration, not the location of the class. gcc/cp/ChangeLog: * class.c (handle_using_decl): Add an iloc_sentinel. gcc/testsuite/ChangeLog: * g++.dg/lookup/using26.C: Adjust location. * g++.old-deja/g++.other/using1.C: Adjust location.
Diffstat (limited to 'gcc/cp/parser.c')
0 files changed, 0 insertions, 0 deletions