Skip to content

Commit 407b010

Browse files
brandonxintbaederr
andauthored
Update clang/lib/AST/ExprConstant.cpp
Co-authored-by: Timm Baeder <[email protected]>
1 parent 436f0c9 commit 407b010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/ExprConstant.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11964,7 +11964,7 @@ bool VectorExprEvaluator::VisitCallExpr(const CallExpr *E) {
1196411964
assert(SourceC.getKind() == clang::APValue::Int);
1196511965

1196611966
const APInt &C = SourceC.getInt();
11967-
auto SourceLen = SourceF.getVectorLength();
11967+
unsigned SourceLen = SourceF.getVectorLength();
1196811968
SmallVector<APValue, 32> ResultElements;
1196911969
ResultElements.reserve(SourceLen);
1197011970
for (unsigned EltNum = 0; EltNum != SourceLen; ++EltNum) {

0 commit comments

Comments
 (0)