[Bug c++/89882] [8/9 Regression] Extra caret marker when issuing diagnostics for the "'friend' used outside of class" error
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 29 14:23:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89882
--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
As Jakub notes, it's a deletion fix-it hint.
It's suggesting the deletion of the same range as that of the primary location
of the diagnostic, so arguably there's some redundancy there.
I wonder if there's a better way to present this information, but I don't have
any ideas at the moment.
More information about the Gcc-bugs
mailing list