cp-tree.h (DECL_MAYBE_IN_CHARGE_CDTOR_P): New.
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 15 May 2018 16:03:56 +0000 (16:03 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 15 May 2018 16:03:56 +0000 (16:03 +0000)
commit5f150326b336830ac8e53a7072451df2b6e75352
treede8826a8ed6f3eb667225fe3f17a498d31361127
parent5a7960da41fec497eb4203d71215bcb1077207a9
cp-tree.h (DECL_MAYBE_IN_CHARGE_CDTOR_P): New.

2018-05-15  Paolo Carlini  <paolo.carlini@oracle.com>

* cp-tree.h (DECL_MAYBE_IN_CHARGE_CDTOR_P): New.
(FOR_EACH_CLONE): Update.
* decl.c (grokdeclarator): Use it.
* decl2.c (vague_linkage_p): Likewise.
* mangle.c (mangle_decl): Likewise.
* method.c (lazily_declare_fn): Likewise.
* optimize.c (can_alias_cdtor, maybe_clone_body): Likewise.
* repo.c (repo_emit_p): Likewise.
* tree.c (decl_linkage): Likewise.

From-SVN: r260264
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/mangle.c
gcc/cp/method.c
gcc/cp/optimize.c
gcc/cp/repo.c
gcc/cp/tree.c