Re: [PATCH] C++: add fixit for '>>' template error

2016-08-30 Thread Jason Merrill
OK. On Tue, Aug 30, 2016 at 10:43 AM, David Malcolm wrote: > This patch adds fix-it hints to our warning for >> > within a nested template argument list (for -std=c++98). > > For example: > > double-greater-than-fixit.C:5:12: error: ‘>>’ should be ‘> >’ within a nested > template argument list >

[PATCH] C++: add fixit for '>>' template error

2016-08-30 Thread David Malcolm
This patch adds fix-it hints to our warning for >> within a nested template argument list (for -std=c++98). For example: double-greater-than-fixit.C:5:12: error: ‘>>’ should be ‘> >’ within a nested template argument list foo> i; ^~ > > In conjunction with the not-yet-i