summaryrefslogtreecommitdiff
path: root/test/SemaCXX/crashes.cpp
Commit message (Collapse)AuthorAge
* Fix error recovery in return statement.Serge Pavlov2013-12-04
| | | | | | | This patch fixes PR16989. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196352 91177308-0d34-0410-b5e6-96231b3b80d8
* Clear LookupResult object if invalid candidate is found.Serge Pavlov2013-09-04
| | | | | | | | If source code is invalid, error recovery can lead to name lookup in a set containing invalid declaration. The lookup is stopped once found such declaration, but LookupResult object could remain in inconsistent state. Its destructor triggered a check, which caused assert violation. This patch fixes PR16964 and PR12791. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189916 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an incorrect assert, the LHS can be an LValue.Rafael Espindola2012-11-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167232 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a testcase from the previous bootstrap problem.Rafael Espindola2012-10-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166894 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a reduced testcase of the last bootstrap failure.Rafael Espindola2012-10-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166866 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test case for rdar://11806334.Argyrios Kyrtzidis2012-07-19
| | | | | | Makes sure we don't overflow the stack. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160511 91177308-0d34-0410-b5e6-96231b3b80d8
* ActOnCXXConditionDeclaration should take into account thatDouglas Gregor2011-07-05
| | | | | | | ActOnDeclarator can return NULL. Fixes PR10270, from Hans Wennborg! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134416 91177308-0d34-0410-b5e6-96231b3b80d8
* Add test from PR9026.Rafael Espindola2011-01-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124034 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge test.Rafael Espindola2011-01-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123914 91177308-0d34-0410-b5e6-96231b3b80d8
* When determining which template partial specialization is more specialized,Argyrios Kyrtzidis2010-11-05
| | | | | | make sure to setup the instantiation stack. Fixes rdar://8620775 & http://llvm.org/PR8234 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118314 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't remove the init expression from the initializer list if it had a ↵Argyrios Kyrtzidis2010-10-30
| | | | | | | | | semantic error. We already flag the error with InitListChecker's hadError and we mess up the AST unnecessarily. Fixes rdar://8605381. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117760 91177308-0d34-0410-b5e6-96231b3b80d8
* Add test/SemaCXX/crash-PR7625.cpp into test/SemaCXX/crashes.cppArgyrios Kyrtzidis2010-10-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117759 91177308-0d34-0410-b5e6-96231b3b80d8
* test/SemaCXX/crash-8124080.cpp -> test/SemaCXX/crashes.cppArgyrios Kyrtzidis2010-10-30
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117758 91177308-0d34-0410-b5e6-96231b3b80d8