Skip to content

Commit 09b51ba

Browse files
committed
Remove unnecessary assertions
1 parent 1bab9d1 commit 09b51ba

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

clang/lib/AST/ExprConstant.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11959,10 +11959,6 @@ bool VectorExprEvaluator::VisitCallExpr(const CallExpr *E) {
1195911959
!EvaluateAsRValue(Info, E->getArg(2), SourceC))
1196011960
return false;
1196111961

11962-
assert(SourceF.getKind() == clang::APValue::Vector);
11963-
assert(SourceT.getKind() == clang::APValue::Vector);
11964-
assert(SourceC.getKind() == clang::APValue::Int);
11965-
1196611962
const APInt &C = SourceC.getInt();
1196711963
unsigned SourceLen = SourceF.getVectorLength();
1196811964
SmallVector<APValue, 32> ResultElements;

0 commit comments

Comments
 (0)