diff options
author | Jason Merrill <jason@redhat.com> | 2008-08-30 01:14:54 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2008-08-30 01:14:54 -0400 |
commit | 86a09a9e99fd73423b6b00b1083abfb0d8ac862d (patch) | |
tree | e0bd80b1274106f983a05d33d9c48ec65a2d8085 /gcc/tree-vectorizer.c | |
parent | b3914aa38f56986ba8ff512ded75608e875436e2 (diff) | |
download | gcc-86a09a9e99fd73423b6b00b1083abfb0d8ac862d.zip gcc-86a09a9e99fd73423b6b00b1083abfb0d8ac862d.tar.gz gcc-86a09a9e99fd73423b6b00b1083abfb0d8ac862d.tar.bz2 |
Implement C++0x 'auto' semantics.
* decl.c (start_decl_1): Don't complain about auto being incomplete.
(cp_finish_decl): Deduce auto.
* init.c (build_new): Handle 'new auto'.
* typeck2.c (cxx_incomplete_type_diagnostic): Give a different
message for auto than for normal template type parms.
* pt.c (type_dependent_expression_p): Handle { }.
(make_auto): New function.
(listify_autos): New function.
(do_auto_deduction): New function.
(is_auto): New function.
(type_uses_auto): New function.
* cp-tree.h: Declare them.
* parser.c (cp_parser_decl_specifier_seq): In C++0x mode, don't
treat auto as a declspec.
(cp_parser_simple_type_specifier): It's a type-specifier.
From-SVN: r139798
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions