diff options
author | Jason Merrill <jason@redhat.com> | 2008-08-31 23:33:19 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2008-08-31 23:33:19 -0400 |
commit | f57ca1ea5f9ebcd518961e4251dd224524725f11 (patch) | |
tree | 4df2798ed30c19a13c03271ee6b5b653821b5353 /gcc/cfghooks.h | |
parent | 3699867372437d6fb23dc2d36fcbfcdc34d7bdc0 (diff) | |
download | gcc-f57ca1ea5f9ebcd518961e4251dd224524725f11.tar.gz |
Implement late-specified return type using 'auto'.
* cp-tree.h (struct cp_declarator): Add late_return_type field to
function declarator.
* parser.c (cp_parser_late_return_type_opt): New fn.
(cp_parser_direct_declarator): Use it.
(make_call_declarator): Put it in the declarator.
* decl.c (grokdeclarator): Splice in late-specified return type.
* pt.c (splice_late_return_type): New fn.
From-SVN: r139848
Diffstat (limited to 'gcc/cfghooks.h')
0 files changed, 0 insertions, 0 deletions