cp-tree.h (DECL_CONSTRUCTOR_P, [...]): Look at identifier flags.
authorNathan Sidwell <nathan@acm.org>
Wed, 12 Jul 2017 17:29:11 +0000 (17:29 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 12 Jul 2017 17:29:11 +0000 (17:29 +0000)
commit3da3dcdb98a750533a9d863fce8e30c657d968af
tree11091ea35eb14182aedb23929933dacdba16067c
parent1bde114aaceb7f423aaafbc62df6e5ba51a15b27
cp-tree.h (DECL_CONSTRUCTOR_P, [...]): Look at identifier flags.

* cp-tree.h (DECL_CONSTRUCTOR_P, DECL_MAYBE_IN_CHARGE_CONSTRUCTOR,
DECL_DESTRUCTOR_P, DECL_MAYBE_IN_CHARGE_DESTRCTOR): Look at
identifier flags.
* decl.c (grokfndecl): Set DECL_CXX_CONSTRUCTOR and
DECL_CXX_DESTRUCTOR explicitly.
* decl2.c (grokclassfn): Likewise.
* friend.c (do_friend): Likewise.
* method.c (make_thunk, make_alias_for,
implicitly_declare_fn): Likewise.

From-SVN: r250158
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/friend.c
gcc/cp/method.c