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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:eb9f099c3df2b1b4c5fb0fa25cfdfa3cb5fc817e

commit r12-3869-geb9f099c3df2b1b4c5fb0fa25cfdfa3cb5fc817e
Author: Michel Morin <mimomo...@gmail.com>
Date:   Thu Sep 16 23:29:54 2021 +0900

    c++: add spellcheck suggestions for typedef etc. [PR77565]

    cp_keyword_starts_decl_specifier_p misses many keywords that can
    start decl-specifiers. This patch adds support for those keywords.

            PR c++/77565

    gcc/cp/ChangeLog:

            * parser.c (cp_keyword_starts_decl_specifier_p): Handle more
            decl-specifiers (typedef/inline/cv/explicit/virtual/friend).

    gcc/testsuite/ChangeLog:

            * g++.dg/spellcheck-pr77565.C: New test.

Reply via email to