Commit Graph

7 Commits

Author SHA1 Message Date
Douglas Gregor 1fe12c9eba ActOnCXXConditionDeclaration should take into account that
ActOnDeclarator can return NULL. Fixes PR10270, from Hans Wennborg!

llvm-svn: 134416
2011-07-05 16:13:20 +00:00
Rafael Espindola b53c03be8a Add test from PR9026.
llvm-svn: 124034
2011-01-22 15:34:07 +00:00
Rafael Espindola ec4b30a1e8 Merge test.
llvm-svn: 123914
2011-01-20 16:11:21 +00:00
Argyrios Kyrtzidis 7d391557cc When determining which template partial specialization is more specialized,
make sure to setup the instantiation stack. Fixes rdar://8620775 & http://llvm.org/PR8234

llvm-svn: 118314
2010-11-05 23:25:18 +00:00
Argyrios Kyrtzidis 93513155e7 Don't remove the init expression from the initializer list if it had a semantic error.
We already flag the error with InitListChecker's hadError and we mess up the AST unnecessarily.
Fixes rdar://8605381.

llvm-svn: 117760
2010-10-30 01:06:26 +00:00
Argyrios Kyrtzidis b5488f45db Add test/SemaCXX/crash-PR7625.cpp into test/SemaCXX/crashes.cpp
llvm-svn: 117759
2010-10-30 01:06:23 +00:00
Argyrios Kyrtzidis 0f24185c76 test/SemaCXX/crash-8124080.cpp -> test/SemaCXX/crashes.cpp
llvm-svn: 117758
2010-10-30 01:06:21 +00:00