mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Use "isa" since the variable isn't used.
llvm-svn: 367985
This commit is contained in:
parent
d420e88ebd
commit
8b99a6d0c3
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user