[Sema] Fix -Wunused-variable in CreateBuiltinMatrixSubscriptExpr (NFC).
authorFlorian Hahn <flo@fhahn.com>
Tue, 2 Jun 2020 09:45:30 +0000 (10:45 +0100)
committerFlorian Hahn <flo@fhahn.com>
Tue, 2 Jun 2020 09:45:30 +0000 (10:45 +0100)
clang/lib/Sema/SemaExpr.cpp

index e177c9d..2221f98 100644 (file)
@@ -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();
   };