mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 16:45:28 +08:00
* pt.c (tsubst_function_type): Copy attributes over.
From-SVN: r26426
This commit is contained in:
parent
9db83085a5
commit
ada846ebb9
@ -1,5 +1,7 @@
|
||||
1999-04-13 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* pt.c (tsubst_function_type): Copy attributes over.
|
||||
|
||||
* tree.c (cp_valid_lang_attribute): New fn. Handle init_priority
|
||||
and com_interface.
|
||||
* cp-tree.h: Add prototype.
|
||||
|
@ -5919,6 +5919,7 @@ tsubst_function_type (t, args, complain, in_decl)
|
||||
(arg_types));
|
||||
}
|
||||
fntype = build_qualified_type (fntype, TYPE_QUALS (t));
|
||||
fntype = build_type_attribute_variant (fntype, TYPE_ATTRIBUTES (t));
|
||||
|
||||
return fntype;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user