projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b446ec5
)
[Sema] Fix -Wunused-variable in CreateBuiltinMatrixSubscriptExpr (NFC).
author
Florian Hahn
<flo@fhahn.com>
Tue, 2 Jun 2020 09:45:30 +0000
(10:45 +0100)
committer
Florian Hahn
<flo@fhahn.com>
Tue, 2 Jun 2020 09:45:30 +0000
(10:45 +0100)
clang/lib/Sema/SemaExpr.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaExpr.cpp
b/clang/lib/Sema/SemaExpr.cpp
index
e177c9d
..
2221f98
100644
(file)
--- a/
clang/lib/Sema/SemaExpr.cpp
+++ b/
clang/lib/Sema/SemaExpr.cpp
@@
-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();
};