diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-25 06:22:51 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-25 06:22:51 +0000 |
commit | cfa61f8435164f3205d70c7e1c5038b2d881aa1d (patch) | |
tree | 49b81324ade09d98696d503e866b68909cbe56f6 /gcc/cp/class.c | |
parent | 9e6b512cd861d5822518aef24fb9bb9a3267cbb1 (diff) | |
download | gcc-cfa61f8435164f3205d70c7e1c5038b2d881aa1d.tar.gz |
* parser.c (cp_parser_constant_expression): Set
non_integral_constant_expression correctly for C++0x too.
(cp_parser_static_assert): Allow non-constant expression.
(cp_parser_direct_declarator): Expect non_constant_p to be set
properly for C++0x.
* pt.c (value_dependent_expression_p): Handle TYPEID_EXPR.
* semantics.c (maybe_constant_value): Check type_unknown_p too.
(potential_rvalue_constant_expression): New.
(require_potential_rvalue_constant_expression): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170488 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions