]> granicus.if.org Git - clang/commitdiff
Remove unused variable that I missed in my rush to fix the bots
authorReid Kleckner <reid@kleckner.net>
Fri, 2 May 2014 01:17:12 +0000 (01:17 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 2 May 2014 01:17:12 +0000 (01:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207820 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TargetInfo.cpp

index 9a8301617ff62710fe3fe021e9ae5298e932dab7..5ad940d157be3766613fd605dab10e50a6dffc1b 100644 (file)
@@ -2736,7 +2736,7 @@ ABIArgInfo WinX86_64ABIInfo::classify(QualType Ty, bool IsReturnType) const {
                                                           Size));
   }
 
-  if (const auto *MPT = Ty->getAs<MemberPointerType>()) {
+  if (Ty->isMemberPointerType()) {
     // If the member pointer is represented by an LLVM int or ptr, pass it
     // directly.
     llvm::Type *LLTy = CGT.ConvertType(Ty);