diff options
author | Jason Merrill <jason@redhat.com> | 2017-02-09 15:55:54 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2017-02-09 15:55:54 -0500 |
commit | a56c0ac08242269bbcc4bd1f480eda2378336776 (patch) | |
tree | fdb30ba42b1dd45219d4eab973e41db807ec03b7 /gcc/tree-ssa-reassoc.c | |
parent | 388dde26a5b5a6740018340953955eb05abba817 (diff) | |
download | gcc-a56c0ac08242269bbcc4bd1f480eda2378336776.zip gcc-a56c0ac08242269bbcc4bd1f480eda2378336776.tar.gz gcc-a56c0ac08242269bbcc4bd1f480eda2378336776.tar.bz2 |
PR c++/79316 - default argument in deduction guide
PR c++/79350 - explicit deduction guide
* parser.c (cp_parser_constructor_declarator_p)
(cp_parser_direct_declarator): Parse deduction guides more like
constructors.
* cp-tree.h (enum special_function_kind): Add sfk_deduction_guide.
* tree.c (special_function_p): Return it.
* decl.c (check_special_function_return_type): Handle it.
(grokdeclarator, grokfndecl): Adjust.
(cp_finish_decl): Pass flags to do_auto_deduction.
* error.c (dump_decl_name): Use TFF_UNQUALIFIED_NAME.
* pt.c (dguide_name_p): Take a const_tree.
(do_class_deduction): Handle explicit.
(do_auto_deduction): Pass flags through.
(build_deduction_guide): Copy explicit flag.
From-SVN: r245314
Diffstat (limited to 'gcc/tree-ssa-reassoc.c')
0 files changed, 0 insertions, 0 deletions