r237463 - in /trunk/gcc: ChangeLog c/ChangeLog ...
dmalcolm@gcc.gnu.org
dmalcolm@gcc.gnu.org
Tue Jun 14 23:08:00 GMT 2016
Author: dmalcolm
Date: Tue Jun 14 23:08:34 2016
New Revision: 237463
URL: https://gcc.gnu.org/viewcvs?rev=237463&root=gcc&view=rev
Log:
Introduce gcc_rich_location::add_fixit_misspelled_id
gcc/c/ChangeLog:
* c-typeck.c (build_component_ref): Simplify fixit code by
using gcc_rich_location::add_fixit_misspelled_id.
(set_init_label): Likewise.
gcc/cp/ChangeLog:
* typeck.c: Include "gcc-rich-location.h".
(finish_class_member_access_expr): Simplify fixit code by
using gcc_rich_location::add_fixit_misspelled_id.
gcc/ChangeLog:
* gcc-rich-location.c
(gcc_rich_location::add_fixit_misspelled_id): New method.
* gcc-rich-location.h
(gcc_rich_location::add_fixit_misspelled_id): Add decl.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-typeck.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck.c
trunk/gcc/gcc-rich-location.c
trunk/gcc/gcc-rich-location.h
More information about the Gcc-cvs
mailing list