projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
009fed3
)
Cast variable to void to resolve unused variable warning in non-asserts builds.
author
Richard Trieu
<rtrieu@google.com>
Tue, 15 Dec 2015 23:25:34 +0000
(23:25 +0000)
committer
Richard Trieu
<rtrieu@google.com>
Tue, 15 Dec 2015 23:25:34 +0000
(23:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255704
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/CrossDSOCFI.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/CrossDSOCFI.cpp
b/lib/Transforms/IPO/CrossDSOCFI.cpp
index 66abf7078afcd837b3482b75cfd9630bed42bed1..a91ee8451593e80baa4b8b08341bedfd3e14f315 100644
(file)
--- a/
lib/Transforms/IPO/CrossDSOCFI.cpp
+++ b/
lib/Transforms/IPO/CrossDSOCFI.cpp
@@
-89,6
+89,7
@@
ConstantInt *CrossDSOCFI::extractBitSetTypeId(MDNode *MD) {
// Can be null if a function was removed by an optimization.
if (FM) {
auto F = dyn_cast<Function>(FM->getValue());
+ (void)F;
// But can never be a function declaration.
assert(!F || !F->isDeclaration());
}