summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-04-11 02:03:26 +0000
committerAnders Carlsson <andersca@mac.com>2011-04-11 02:03:26 +0000
commit8a01a751c9389234d02a7af1d99baf296af58d3d (patch)
treee5f253aa04986c816dea686a80bca7f1a0f698ad /clang/lib/CodeGen/CGExprAgg.cpp
parentc1c9971cabff954393a3e31695c27ead2db92b63 (diff)
downloadbcm5719-llvm-8a01a751c9389234d02a7af1d99baf296af58d3d.tar.gz
bcm5719-llvm-8a01a751c9389234d02a7af1d99baf296af58d3d.zip
Remove CK_DynamicToNull.
llvm-svn: 129265
Diffstat (limited to 'clang/lib/CodeGen/CGExprAgg.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprAgg.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp
index 5e1ac3cbacb..75e3a7879d4 100644
--- a/clang/lib/CodeGen/CGExprAgg.cpp
+++ b/clang/lib/CodeGen/CGExprAgg.cpp
@@ -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?
OpenPOWER on IntegriCloud