https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71858

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jul 15 10:40:39 2016
New Revision: 238369

URL: https://gcc.gnu.org/viewcvs?rev=238369&root=gcc&view=rev
Log:
        PR c/71858
        * c-common.h (enum lookup_name_fuzzy_kind): Add
        FUZZY_LOOKUP_FUNCTION_NAME.

        * c-decl.c (implicit_decl_warning): Use FUZZY_LOOKUP_FUNCTION_NAME
        instead of FUZZY_LOOKUP_NAME.
        (lookup_name_fuzzy): For FUZZY_LOOKUP_FUNCTION_NAME consider
        FUNCTION_DECLs, {VAR,PARM}_DECLs function pointers and macros.

        * gcc.dg/spellcheck-identifiers-3.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/spellcheck-identifiers-3.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.h
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to