John McCall
4cec5f806b
Fix another case of giving the wrong value kind to a dependent cast to
...
a non-dependent type.
llvm-svn: 120384
2010-11-30 02:05:44 +00:00
John McCall
29ac8e2ecd
For internal consistency's sake, compute the value kind of a dependent cast
...
based on the known properties of the casted-to type. Fixes a crash on spirit.
llvm-svn: 120180
2010-11-26 10:57:22 +00:00
Eli Friedman
6b197e0651
PR7724: Don't try to evaluate value-dependent expressions.
...
llvm-svn: 109532
2010-07-27 19:14:53 +00:00
Douglas Gregor
024d80e571
Don't look for a destructor in a dependent type. Fixes PR7198.
...
llvm-svn: 104445
2010-05-22 17:12:29 +00:00
Douglas Gregor
5fcb51c09c
When determining whether a DeclRefExpr is value-dependent when it
...
references a const variable of integral type, the initializer may be
in a different declaration than the one that name-lookup saw. Find the
initializer anyway. Fixes PR6045.
llvm-svn: 93514
2010-01-15 16:21:02 +00:00
Eli Friedman
be55976627
Test for PR5908.
...
llvm-svn: 92282
2009-12-30 00:20:14 +00:00