[cfe-commits] r95476 - /cfe/trunk/lib/CodeGen/CGClass.cpp

Ted Kremenek kremenek at apple.com
Fri Feb 5 19:29:18 PST 2010


Author: kremenek
Date: Fri Feb  5 21:29:18 2010
New Revision: 95476

URL: http://llvm.org/viewvc/llvm-project?rev=95476&view=rev
Log:
Remove unused variable.

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

Modified: cfe/trunk/lib/CodeGen/CGClass.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGClass.cpp?rev=95476&r1=95475&r2=95476&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGClass.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGClass.cpp Fri Feb  5 21:29:18 2010
@@ -1238,7 +1238,6 @@
     assert(ArgBeg + 1 == ArgEnd && "unexpected argcount for trivial ctor");
     assert(D->isCopyConstructor() && "trivial 1-arg ctor not a copy ctor");
 
-    const CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(D->getDeclContext());
     const Expr *E = (*ArgBeg);
     QualType Ty = E->getType();
     llvm::Value *Src = EmitLValue(E).getAddress();





More information about the cfe-commits mailing list