summaryrefslogtreecommitdiff
path: root/test/SemaTemplate/dependent-expr.cpp
Commit message (Collapse)AuthorAgeFilesLines
* PR18152: When computing the semantic form for an initializer list, keep trackRichard Smith2013-12-061-0/+7
| | | | | | | of whether the initializer list is dependent. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196558 91177308-0d34-0410-b5e6-96231b3b80d8
* PR10837: Warn if a null pointer constant is formed by a zero integer constantRichard Smith2013-11-211-0/+14
| | | | | | | | expression that is not a zero literal, in C. This is a different, and more targeted, approach than that in r194540. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195303 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix crash with cast of value-dependent expr.Eli Friedman2013-09-191-0/+7
| | | | | | | | | We don't really need to perform semantic analysis on the dependent expression anyway, so just call the cast dependent. <rdar://problem/15012610> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190981 91177308-0d34-0410-b5e6-96231b3b80d8
* Prior to adding the new "expected-no-diagnostics" directive to ↵Andy Gibbs2012-10-191-0/+1
| | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166280 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't try to compute the value of a value-dependent expression whenDouglas Gregor2010-12-211-0/+10
| | | | | | | checking trivial comparisons. Fixes PR8795. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122322 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix another case of giving the wrong value kind to a dependent cast toJohn McCall2010-11-301-0/+9
| | | | | | | | a non-dependent type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120384 91177308-0d34-0410-b5e6-96231b3b80d8
* For internal consistency's sake, compute the value kind of a dependent castJohn McCall2010-11-261-0/+7
| | | | | | | | based on the known properties of the casted-to type. Fixes a crash on spirit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120180 91177308-0d34-0410-b5e6-96231b3b80d8
* PR7724: Don't try to evaluate value-dependent expressions.Eli Friedman2010-07-271-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109532 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't look for a destructor in a dependent type. Fixes PR7198.Douglas Gregor2010-05-221-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104445 91177308-0d34-0410-b5e6-96231b3b80d8
* When determining whether a DeclRefExpr is value-dependent when itDouglas Gregor2010-01-151-0/+19
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93514 91177308-0d34-0410-b5e6-96231b3b80d8
* Test for PR5908.Eli Friedman2009-12-301-0/+7
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92282 91177308-0d34-0410-b5e6-96231b3b80d8