aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index c10b3b9..ed0aa77 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -3155,7 +3155,7 @@ void CodeViewDebug::emitStaticConstMemberList() {
}
static bool isFloatDIType(const DIType *Ty) {
- if (auto *CTy = dyn_cast<DICompositeType>(Ty))
+ if (isa<DICompositeType>(Ty))
return false;
if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) {