Richard Smith
c275da6a14
PR18152: When computing the semantic form for an initializer list, keep track
...
of whether the initializer list is dependent.
llvm-svn: 196558
2013-12-06 01:27:24 +00:00
Richard Smith
e934d7c9f5
PR10837: Warn if a null pointer constant is formed by a zero integer constant
...
expression that is not a zero literal, in C. This is a different, and more
targeted, approach than that in r194540.
llvm-svn: 195303
2013-11-21 01:53:02 +00:00
Eli Friedman
7127108357
Fix crash with cast of value-dependent expr.
...
We don't really need to perform semantic analysis on the dependent expression
anyway, so just call the cast dependent.
<rdar://problem/15012610>
llvm-svn: 190981
2013-09-19 01:12:33 +00:00
Andy Gibbs
c6e68daac0
Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive.
...
llvm-svn: 166280
2012-10-19 12:44:48 +00:00
Douglas Gregor
b14dbd73b9
Don't try to compute the value of a value-dependent expression when
...
checking trivial comparisons. Fixes PR8795.
llvm-svn: 122322
2010-12-21 07:22:56 +00:00
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