diff options
author | Jason Merrill <jason@redhat.com> | 2022-04-30 05:45:02 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-05-02 18:05:06 -0400 |
commit | 6f78c52d4bd08caec4f3b11ad2302e7cde044c1e (patch) | |
tree | b4ae10b84de404f1e80ce51c85b1170c72dcf87b /libgcc | |
parent | dcb4bd0789d13dd4d07428bff712d01d3ea71ebe (diff) | |
download | gcc-6f78c52d4bd08caec4f3b11ad2302e7cde044c1e.zip gcc-6f78c52d4bd08caec4f3b11ad2302e7cde044c1e.tar.gz gcc-6f78c52d4bd08caec4f3b11ad2302e7cde044c1e.tar.bz2 |
c++: improve template-id location
On PR102629 I noticed that we were giving the entire lambda as the location
for this template-id.
gcc/cp/ChangeLog:
* pt.cc (tsubst_copy_and_build) [TEMPLATE_ID_EXPR]: Copy location.
(do_auto_deduction): Use expr location.
gcc/testsuite/ChangeLog:
* g++.dg/cpp2a/lambda-pack-init7.C: Check column number.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions