mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 23:17:06 +08:00
comment
From-SVN: r38258
This commit is contained in:
parent
7dfa399da1
commit
2be678ffb7
@ -5788,6 +5788,9 @@ tsubst_decl (t, args, type, in_decl)
|
||||
maybe_retrofit_in_chrg (r);
|
||||
if (DECL_CONSTRUCTOR_P (r))
|
||||
grok_ctor_properties (ctx, r);
|
||||
/* If this is an instantiation of a member template, clone it.
|
||||
If it isn't, that'll be handled by
|
||||
clone_constructors_and_destructors. */
|
||||
if (PRIMARY_TEMPLATE_P (gen_tmpl))
|
||||
clone_function_decl(r, /*update_method_vec_p=*/0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user