diff options
| author | Anders Carlsson <andersca@mac.com> | 2011-04-11 02:03:26 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2011-04-11 02:03:26 +0000 |
| commit | 575b374fdbfc2c2224fd3047ac11ffc4b8db9ae5 (patch) | |
| tree | 18d07d74d7989eb83d46a9be809720278985b07c /lib/CodeGen/CGExpr.cpp | |
| parent | 3ddcdd5d6c88902d24baa9e6bb240a3da88e68d4 (diff) | |
| download | clang-575b374fdbfc2c2224fd3047ac11ffc4b8db9ae5.tar.gz clang-575b374fdbfc2c2224fd3047ac11ffc4b8db9ae5.tar.bz2 clang-575b374fdbfc2c2224fd3047ac11ffc4b8db9ae5.tar.xz | |
Remove CK_DynamicToNull.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129265 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
| -rw-r--r-- | lib/CodeGen/CGExpr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index ad51316a1f..a35f81ca20 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -1867,8 +1867,7 @@ LValue CodeGenFunction::EmitCastLValue(const CastExpr *E) { return MakeAddrLValue(V, E->getType()); } - case CK_Dynamic: - case CK_DynamicToNull: { + case CK_Dynamic: { LValue LV = EmitLValue(E->getSubExpr()); llvm::Value *V = LV.getAddress(); const CXXDynamicCastExpr *DCE = cast<CXXDynamicCastExpr>(E); |
