Skip to content

Commit 93c2a9a

Browse files
committed
Use isa<> instead of dyn_cast<> to avoid unused variable warning. NFCI.
1 parent b36cb12 commit 93c2a9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3155,7 +3155,7 @@ void CodeViewDebug::emitStaticConstMemberList() {
31553155
}
31563156

31573157
static bool isFloatDIType(const DIType *Ty) {
3158-
if (auto *CTy = dyn_cast<DICompositeType>(Ty))
3158+
if (isa<DICompositeType>(Ty))
31593159
return false;
31603160

31613161
if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) {

0 commit comments

Comments
 (0)