From ec87fece21b724709dec8d7cdbaeafb88debe2b0 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 2 May 2014 01:17:12 +0000 Subject: [PATCH] Remove unused variable that I missed in my rush to fix the bots llvm-svn: 207820 --- clang/lib/CodeGen/TargetInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index 9a8301617ff6..5ad940d157be 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/lib/CodeGen/TargetInfo.cpp @@ -2736,7 +2736,7 @@ ABIArgInfo WinX86_64ABIInfo::classify(QualType Ty, bool IsReturnType) const { Size)); } - if (const auto *MPT = Ty->getAs()) { + if (Ty->isMemberPointerType()) { // If the member pointer is represented by an LLVM int or ptr, pass it // directly. llvm::Type *LLTy = CGT.ConvertType(Ty);