Re: [C++ Patch] Tidy duplicate_decls locations

2018-06-18 Thread Jason Merrill
OK. On Fri, Jun 15, 2018 at 10:16 AM, Paolo Carlini wrote: > Hi, > > these bits started when I realized that in the error messages about > redefined default arguments we were using DECL_SOURCE_LOCATION for the > olddecl and just input_location for newdecl: in the future we'll able to > point at t

[C++ Patch] Tidy duplicate_decls locations

2018-06-15 Thread Paolo Carlini
Hi, these bits started when I realized that in the error messages about redefined default arguments we were using DECL_SOURCE_LOCATION for the olddecl and just input_location for newdecl: in the future we'll able to point at the specific default argument but for the time being we can as well