forked from OSchip/llvm-project
[Sema] Fix -Wunused-variable in CreateBuiltinMatrixSubscriptExpr (NFC).
This commit is contained in:
parent
b446ec56a2
commit
a6a42df506
|
@ -4737,6 +4737,7 @@ ExprResult Sema::CreateBuiltinMatrixSubscriptExpr(Expr *Base, Expr *RowIdx,
|
|||
bool ConversionOk = tryConvertToTy(*this, Context.getSizeType(), &ConvExpr);
|
||||
assert(ConversionOk &&
|
||||
"should be able to convert any integer type to size type");
|
||||
(void)ConversionOk;
|
||||
return ConvExpr.get();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue