Remove CK_DynamicToNull.

llvm-svn: 129265
This commit is contained in:
Anders Carlsson
2011-04-11 02:03:26 +00:00
parent c1c9971cab
commit 8a01a751c9
10 changed files with 3 additions and 27 deletions

View File

@@ -255,10 +255,7 @@ void AggExprEmitter::VisitCastExpr(CastExpr *E) {
}
switch (E->getCastKind()) {
case CK_Dynamic:
case CK_DynamicToNull: {
// FIXME: Actually handle DynamicToNull here.
case CK_Dynamic: {
assert(isa<CXXDynamicCastExpr>(E) && "CK_Dynamic without a dynamic_cast?");
LValue LV = CGF.EmitCheckedLValue(E->getSubExpr());
// FIXME: Do we also need to handle property references here?