diff options
author | Jason Merrill <jason@redhat.com> | 2016-04-13 16:11:20 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2016-04-13 16:11:20 -0400 |
commit | 5655267ca161de13e553dbfc0b7e58962fbb2443 (patch) | |
tree | e3b6ab9a03bc4e6ddada960bd1a94788283c70ad /gcc/expr.c | |
parent | 88b5d499b5bc3e18c87917aedb817c98b027f47a (diff) | |
download | gcc-5655267ca161de13e553dbfc0b7e58962fbb2443.zip gcc-5655267ca161de13e553dbfc0b7e58962fbb2443.tar.gz gcc-5655267ca161de13e553dbfc0b7e58962fbb2443.tar.bz2 |
Pass empty class parameters like C.
* call.c (pass_as_empty_struct, empty_class_arg): New.
(type_passed_as, build_x_va_arg): Use pass_as_empty_struct.
(build_call_a): Use empty_class_arg.
* cp-tree.h (CPTI_EMPTY_STRUCT, empty_struct_type): New.
* decl.c (cxx_init_decl_processing): Create empty_struct_type.
From-SVN: r234959
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions