[cfe-commits] r128141 - /cfe/trunk/lib/AST/DeclBase.cpp

Chris Lattner sabre at nondot.org
Tue Mar 22 21:03:30 PDT 2011


Author: lattner
Date: Tue Mar 22 23:03:30 2011
New Revision: 128141

URL: http://llvm.org/viewvc/llvm-project?rev=128141&view=rev
Log:
remove a dead variable.

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

Modified: cfe/trunk/lib/AST/DeclBase.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/DeclBase.cpp?rev=128141&r1=128140&r2=128141&view=diff
==============================================================================
--- cfe/trunk/lib/AST/DeclBase.cpp (original)
+++ cfe/trunk/lib/AST/DeclBase.cpp Tue Mar 22 23:03:30 2011
@@ -377,7 +377,6 @@
   if (!canBeWeakImported(IsDefinition))
     return false;
 
-  ASTContext &Context = getASTContext();
   for (attr_iterator A = attr_begin(), AEnd = attr_end(); A != AEnd; ++A) {
     if (isa<WeakImportAttr>(*A))
       return true;





More information about the cfe-commits mailing list