C: convert return type of lookup_name_fuzzy from tree to const char *
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 20 Jul 2016 13:42:51 +0000 (13:42 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 20 Jul 2016 13:42:51 +0000 (13:42 +0000)
commitde6a69eea8eda77b8944c538c70620e7d25d5b2b
tree9b8be09a9ce188671750b4f8e76df99ec445a22c
parentffc2284012c94620bdbffb5276a264bd7fcf7d91
C: convert return type of lookup_name_fuzzy from tree to const char *

gcc/c-family/ChangeLog:
* c-common.h (lookup_name_fuzzy): Convert return type from tree to
const char *.

gcc/c/ChangeLog:
* c-decl.c (implicit_decl_warning): Update for conversion of
return type of lookup_name_fuzzy to const char *.
(undeclared_variable): Likewise.
(lookup_name_fuzzy): Convert return type from tree to
const char *.
* c-parser.c (c_parser_declaration_or_fndef): Update for
conversion of return type of lookup_name_fuzzy to const char *.
(c_parser_parameter_declaration): Likewise.

gcc/ChangeLog:
* gcc-rich-location.c
(gcc_rich_location::add_fixit_misspelled_id): New overload, taking
a const char *.
* gcc-rich-location.h
(gcc_rich_location::add_fixit_misspelled_id): Likewise.

From-SVN: r238517
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.h
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/c/c-parser.c
gcc/gcc-rich-location.c
gcc/gcc-rich-location.h