[cfe-commits] r89983 - /cfe/trunk/lib/Sema/SemaDecl.cpp

Anders Carlsson andersca at mac.com
Thu Nov 26 17:26:59 PST 2009


Author: andersca
Date: Thu Nov 26 19:26:58 2009
New Revision: 89983

URL: http://llvm.org/viewvc/llvm-project?rev=89983&view=rev
Log:
Fix thinko.

Modified:
    cfe/trunk/lib/Sema/SemaDecl.cpp

Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=89983&r1=89982&r2=89983&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Thu Nov 26 19:26:58 2009
@@ -2599,8 +2599,7 @@
     QualType T = Data->S->Context.getTypeDeclType(BaseRecord);
     CanQualType CT = Data->S->Context.getCanonicalType(T);
     
-    DeclarationName Name = 
-      Data->S->Context.DeclarationNames.getCXXDestructorName(CT);
+    Name = Data->S->Context.DeclarationNames.getCXXDestructorName(CT);
   }    
   
   for (Path.Decls = BaseRecord->lookup(Name);





More information about the cfe-commits mailing list