diff options
| author | John McCall <rjmccall@apple.com> | 2010-11-16 05:46:29 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-11-16 05:46:29 +0000 |
| commit | e2b768877b77fa4e00171ee6e6443722e0f3d111 (patch) | |
| tree | 725aced6f8c3f08f6a566c42cc480672a0694ead /lib/CodeGen/CGExprScalar.cpp | |
| parent | 641ca7d01441c34566756744838abb8faf1356aa (diff) | |
| download | clang-e2b768877b77fa4e00171ee6e6443722e0f3d111.tar.gz clang-e2b768877b77fa4e00171ee6e6443722e0f3d111.tar.bz2 clang-e2b768877b77fa4e00171ee6e6443722e0f3d111.tar.xz | |
Kill CK_Unknown and flesh out the documentation for the existing CastKinds.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119331 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
| -rw-r--r-- | lib/CodeGen/CGExprScalar.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/CGExprScalar.cpp b/lib/CodeGen/CGExprScalar.cpp index 183afbe72b..98676d9ff7 100644 --- a/lib/CodeGen/CGExprScalar.cpp +++ b/lib/CodeGen/CGExprScalar.cpp @@ -999,11 +999,6 @@ Value *ScalarExprEmitter::EmitCastExpr(CastExpr *CE) { switch (Kind) { case CK_Dependent: llvm_unreachable("dependent cast kind in IR gen!"); - case CK_Unknown: - // FIXME: All casts should have a known kind! - //assert(0 && "Unknown cast kind!"); - break; - case CK_LValueBitCast: case CK_ObjCObjectLValueCast: { Value *V = EmitLValue(E).getAddress(); |
