diff options
author | Jason Merrill <jason@redhat.com> | 2013-04-19 12:28:24 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2013-04-19 12:28:24 -0400 |
commit | 79d8a2724290d3c6e14f9935b62993b90776aa4e (patch) | |
tree | a187b2259ee70bc4c76bd1bfeafd261b460ed430 /gcc/lra-constraints.c | |
parent | 86c0810c726e89e35cf5c0c037953164e8d38ae0 (diff) | |
download | gcc-79d8a2724290d3c6e14f9935b62993b90776aa4e.zip gcc-79d8a2724290d3c6e14f9935b62993b90776aa4e.tar.gz gcc-79d8a2724290d3c6e14f9935b62993b90776aa4e.tar.bz2 |
N3638 changes to return type deduction
* decl.c (undeduced_auto_decl): New.
(require_deduced_type): New.
(fndecl_declared_return_type): New.
(decls_match): Use it.
(duplicate_decls): Don't check for auto return.
(grokdeclarator): Reject virtual auto.
* class.c (resolve_address_of_overloaded_function): Handle
auto function templates.
* decl2.c (mark_used): Use undeduced_auto_decl, require_deduced_type.
* cp-tree.h: Declare new fns.
* error.c (dump_function_decl): Use fndecl_declared_return_type.
* search.c (check_final_overrider): Likewise.
* pt.c (make_decltype_auto): New.
(do_auto_deduction): Require plain decltype(auto).
(is_auto): Adjust.
From-SVN: r198099
Diffstat (limited to 'gcc/lra-constraints.c')
0 files changed, 0 insertions, 0 deletions