Re: RFA (diagnostics): PATCH to move deprecated source location to separate note

2014-11-18 Thread Dodji Seketeli
Jason Merrill writes: > When I was fixing attribute deprecated for C++ templates, I found it > odd that the source location for the deprecated decl was embedded in > the warning rather than in a separate inform. This patch moves it > out. > > Tested x86_64-pc-linux-gnu. OK for trunk? Yes. Tha

RFA (diagnostics): PATCH to move deprecated source location to separate note

2014-11-17 Thread Jason Merrill
When I was fixing attribute deprecated for C++ templates, I found it odd that the source location for the deprecated decl was embedded in the warning rather than in a separate inform. This patch moves it out. Tested x86_64-pc-linux-gnu. OK for trunk? commit 8d6b87fadf0799ec863e2d538fcce713a65