r178550 - [ms-cxxabi] Remove unused variable

Reid Kleckner reid at kleckner.net
Tue Apr 2 10:24:20 PDT 2013


Author: rnk
Date: Tue Apr  2 12:24:20 2013
New Revision: 178550

URL: http://llvm.org/viewvc/llvm-project?rev=178550&view=rev
Log:
[ms-cxxabi] Remove unused variable

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

Modified: cfe/trunk/lib/AST/MicrosoftCXXABI.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/MicrosoftCXXABI.cpp?rev=178550&r1=178549&r2=178550&view=diff
==============================================================================
--- cfe/trunk/lib/AST/MicrosoftCXXABI.cpp (original)
+++ cfe/trunk/lib/AST/MicrosoftCXXABI.cpp Tue Apr  2 12:24:20 2013
@@ -157,7 +157,6 @@ std::pair<unsigned, unsigned> MemberPoin
 
 std::pair<uint64_t, unsigned>
 MicrosoftCXXABI::getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const {
-  const CXXRecordDecl *RD = MPT->getClass()->getAsCXXRecordDecl();
   const TargetInfo &Target = Context.getTargetInfo();
   assert(Target.getTriple().getArch() == llvm::Triple::x86 ||
          Target.getTriple().getArch() == llvm::Triple::x86_64);





More information about the cfe-commits mailing list