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:
fe08528
)
Use "isa" since the variable isn't used.
author
Bill Wendling
<isanbard@gmail.com>
Tue, 6 Aug 2019 07:27:26 +0000
(07:27 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Tue, 6 Aug 2019 07:27:26 +0000
(07:27 +0000)
llvm-svn: 367985
llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
b/llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
index
f55f6f9
..
e4f29fb
100644
(file)
--- a/
llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
+++ b/
llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
@@
-311,7
+311,7
@@
bool BPFAbstractMemberAccess::IsValidAIChain(const MDNode *ParentType,
// Child is a derived/pointer type, which is due to type casting.
// Pointer type cannot be in the middle of chain.
- if (
const auto *PtrTy = dyn_cast
<DIDerivedType>(CType))
+ if (
isa
<DIDerivedType>(CType))
return false;
// Parent is a pointer type.