1
0
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:
Bill Wendling 2019-08-06 07:27:26 +00:00
parent d420e88ebd
commit 8b99a6d0c3

View File

@ -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.