decl.c (grokdeclarator): Check here for typedef a function definition or a member...
authorPaolo Carlini <paolo@gcc.gnu.org>
Wed, 14 Aug 2019 08:54:16 +0000 (08:54 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 14 Aug 2019 08:54:16 +0000 (08:54 +0000)
/cp
2019-08-14  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (grokdeclarator): Check here for typedef a function
definition or a member function definition.
(start_function): Adjust.
(grokmethod): Likewise.

/testsuite
2019-08-14  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/parse/typedef9.C: Test locations too.

From-SVN: r274433

gcc/cp/ChangeLog

index 5c005d49a730482d36d5ffeb93de4d960655f8fe..3ae8e535501f28991502b6daf5953fa61bf3f687 100644 (file)
@@ -1,3 +1,10 @@
+2019-08-14  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * decl.c (grokdeclarator): Check here for typedef a function
+       definition or a member function definition.
+       (start_function): Adjust.
+       (grokmethod): Likewise.
+
 2019-08-13  Richard Sandiford  <richard.sandiford@arm.com>
 
        PR middle-end/91421