diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-01 03:33:19 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-01 03:33:19 +0000 |
commit | 346e3a9c85f2878a54745f5065eb84eeeaed12f5 (patch) | |
tree | 4df2798ed30c19a13c03271ee6b5b653821b5353 /gcc/cse.c | |
parent | e69b1b1e69432a889150d153f994e58419cf5be6 (diff) | |
download | gcc-346e3a9c85f2878a54745f5065eb84eeeaed12f5.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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139848 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions