OSDN Git Service

* call.c (type_decays_to): Check MAYBE_CLASS_TYPE_P instead of
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Apr 2010 17:24:52 +0000 (17:24 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 01:00:08 +0000 (10:00 +0900)
commit8abe3bde01dc29094149660258c8727f184871e4
treed109cc2001f5e0514fcf2507477545c78033af62
parent2943737ab291136de3765e7c6faaba6839214aa0
* call.c (type_decays_to): Check MAYBE_CLASS_TYPE_P instead of
CLASS_TYPE_P.
* parser.c (cp_parser_lambda_expression): Complain about lambda in
unevaluated context.
* pt.c (iterative_hash_template_arg): Don't crash on lambda.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158277 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-deduce2.C [deleted file]