diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-03-25 19:07:11 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-03-25 19:07:11 +0000 |
commit | 9faf2f902c862d3d8946f1635c0a299c492fe529 (patch) | |
tree | ff777b271aacf789f83d5130a1513f860d8a1769 /clang/lib | |
parent | 4c70f3e6ac6ead54ffd2a511c6634ea46f61b3df (diff) | |
download | bcm5719-llvm-9faf2f902c862d3d8946f1635c0a299c492fe529.tar.gz bcm5719-llvm-9faf2f902c862d3d8946f1635c0a299c492fe529.zip |
Silly mistake in integer constant folding cleanup.
llvm-svn: 128297
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/AST/ExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index 2c0bcc2adb9..cdd7efaaf55 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -1764,7 +1764,6 @@ bool IntExprEvaluator::VisitCastExpr(CastExpr *E) { QualType SrcType = SubExpr->getType(); switch (E->getCastKind()) { - case CK_BitCast: case CK_BaseToDerived: case CK_DerivedToBase: case CK_UncheckedDerivedToBase: @@ -1794,6 +1793,7 @@ bool IntExprEvaluator::VisitCastExpr(CastExpr *E) { case CK_IntegralComplexToFloatingComplex: llvm_unreachable("invalid cast kind for integral value"); + case CK_BitCast: case CK_Dependent: case CK_GetObjCProperty: case CK_LValueBitCast: |