r240923 - Delete unused variables.

Frederic Riss friss at apple.com
Sun Jun 28 21:41:58 PDT 2015


Author: friss
Date: Sun Jun 28 23:41:58 2015
New Revision: 240923

URL: http://llvm.org/viewvc/llvm-project?rev=240923&view=rev
Log:
Delete unused variables.

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

Modified: cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp?rev=240923&r1=240922&r2=240923&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp (original)
+++ cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp Sun Jun 28 23:41:58 2015
@@ -3123,9 +3123,6 @@ llvm::Constant *MicrosoftCXXABI::EmitMem
   if (CK == CK_ReinterpretMemberPointer)
     return Src;
 
-  const CXXRecordDecl *SrcRD = SrcTy->getMostRecentCXXRecordDecl();
-  const CXXRecordDecl *DstRD = DstTy->getMostRecentCXXRecordDecl();
-
   CGBuilderTy Builder(CGM.getLLVMContext());
   auto *Dst = cast<llvm::Constant>(EmitNonNullMemberPointerConversion(
       SrcTy, DstTy, CK, PathBegin, PathEnd, Src, Builder));





More information about the cfe-commits mailing list