Fix some clang warnings.

llvm-svn: 128272
This commit is contained in:
Anders Carlsson 2011-03-25 11:22:47 +00:00
parent debd3ec14d
commit 6fc2204dde
1 changed files with 3 additions and 3 deletions

View File

@ -770,7 +770,7 @@ APValue VectorExprEvaluator::VisitCastExpr(const CastExpr* E) {
return APValue();
Result = APValue(F);
} else {
return false;
return APValue();
}
// Splat and create vector APValue.
@ -782,7 +782,7 @@ APValue VectorExprEvaluator::VisitCastExpr(const CastExpr* E) {
return Visit(const_cast<Expr*>(SE));
if (!SETy->isIntegerType())
return false;
return APValue();
APSInt Init;
if (!EvaluateInteger(SE, Init, Info))
@ -808,7 +808,7 @@ APValue VectorExprEvaluator::VisitCastExpr(const CastExpr* E) {
case CK_NoOp:
return Visit(const_cast<Expr*>(SE));
default:
return false;
return APValue();
}
}