cp-tree.h (maybe_version_functions): Declare.
authorNathan Sidwell <nathan@acm.org>
Wed, 23 Aug 2017 19:37:53 +0000 (19:37 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 23 Aug 2017 19:37:53 +0000 (19:37 +0000)
commit25d203fbadc0302b8bbdf948a46ba84cee1db335
tree53681c97a0218f1c16ddce9f86b71c022592820b
parent84ac4dfc5d5ed40758261a9adac3f824d955546c
cp-tree.h (maybe_version_functions): Declare.

* cp-tree.h (maybe_version_functions): Declare.
* decl.c (decls_match): Break function versioning check to
separate function.  Call it.
(maybe_version_functions): Broken out of decls_match.
* class.c (add_method): Use maybe_version_functions.

From-SVN: r251316
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c