r207820 - Remove unused variable that I missed in my rush to fix the bots

Reid Kleckner reid at kleckner.net
Thu May 1 18:17:12 PDT 2014


Author: rnk
Date: Thu May  1 20:17:12 2014
New Revision: 207820

URL: http://llvm.org/viewvc/llvm-project?rev=207820&view=rev
Log:
Remove unused variable that I missed in my rush to fix the bots

Modified:
    cfe/trunk/lib/CodeGen/TargetInfo.cpp

Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=207820&r1=207819&r2=207820&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Thu May  1 20:17:12 2014
@@ -2736,7 +2736,7 @@ ABIArgInfo WinX86_64ABIInfo::classify(Qu
                                                           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);





More information about the cfe-commits mailing list