semantics.c (finish_member_declaration): Move USING_DECL check earlier.
authorNathan Sidwell <nathan@acm.org>
Wed, 23 Aug 2017 19:43:38 +0000 (19:43 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 23 Aug 2017 19:43:38 +0000 (19:43 +0000)
commit3928bd5fc16719d56d6f99514148d4b05fcb9cc0
treeb151354daeecc119e542e5fed89789a62d400f91
parent25d203fbadc0302b8bbdf948a46ba84cee1db335
semantics.c (finish_member_declaration): Move USING_DECL check earlier.

* semantics.c (finish_member_declaration): Move USING_DECL check
earlier.  Always set C++ linkage.  Commonize TYPE_FIELD and
template decl list insertion.

From-SVN: r251317
gcc/cp/ChangeLog
gcc/cp/semantics.c