forked from OSchip/llvm-project
Cleanups on exceptional edges don't work at all, yet. This doesn't
catch very many of them and if we caught all of them, the errors would be annoying. I'm working on this next. WIP. llvm-svn: 90358
This commit is contained in:
parent
90990965e0
commit
2d52ce5f94
|
@ -220,11 +220,6 @@ void CodeGenFunction::EmitCXXThrowExpr(const CXXThrowExpr *E) {
|
|||
}
|
||||
|
||||
QualType ThrowType = E->getSubExpr()->getType();
|
||||
// FIXME: Handle cleanup.
|
||||
if (!CleanupEntries.empty()){
|
||||
ErrorUnsupported(E, "throw expression with cleanup entries");
|
||||
return;
|
||||
}
|
||||
|
||||
// Now allocate the exception object.
|
||||
const llvm::Type *SizeTy = ConvertType(getContext().getSizeType());
|
||||
|
|
Loading…
Reference in New Issue