Fix instantiation of implicit function template forward declarations.
authorabutcher <abutcher@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Sep 2013 22:43:34 +0000 (22:43 +0000)
committerabutcher <abutcher@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Sep 2013 22:43:34 +0000 (22:43 +0000)
commit0ca1427cf5bec79b84b3c3dab19c8ccaebd384b0
treef06174c362e3cdbe00ad92584ca3495046955167
parent6a1b902e7922d02fec7683d1f16f4e201f66c76d
Fix instantiation of implicit function template forward declarations.

* parser.c (cp_parser_init_declarator): Defer calling
finish_fully_implicit_template for forward declarations until after
other decl processing is complete.  Cleanup for clarity: Extract 'else'
case after 'if' containing unconditional return.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202850 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c