[cfe-commits] r101470 - /cfe/trunk/lib/AST/RecordLayoutBuilder.cpp

Anders Carlsson andersca at mac.com
Fri Apr 16 08:59:41 PDT 2010


Author: andersca
Date: Fri Apr 16 10:59:41 2010
New Revision: 101470

URL: http://llvm.org/viewvc/llvm-project?rev=101470&view=rev
Log:
Remove printfs.

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

Modified: cfe/trunk/lib/AST/RecordLayoutBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/RecordLayoutBuilder.cpp?rev=101470&r1=101469&r2=101470&view=diff
==============================================================================
--- cfe/trunk/lib/AST/RecordLayoutBuilder.cpp (original)
+++ cfe/trunk/lib/AST/RecordLayoutBuilder.cpp Fri Apr 16 10:59:41 2010
@@ -623,15 +623,10 @@
     Context.UnsignedLongTy, Context.UnsignedLongLongTy
   };
 
-  printf("field sizes %llu type size %llu\n",
-         FieldSize, TypeSize);
-  
   QualType Type;
   for (unsigned I = 0, E = llvm::array_lengthof(IntegralPODTypes);
        I != E; ++I) {
     uint64_t Size = Context.getTypeSize(IntegralPODTypes[I]);
-    printf("going to try %s %llu\n", IntegralPODTypes[I].getAsString().c_str(),
-           Size);
 
     if (Size > FieldSize)
       break;
@@ -639,7 +634,6 @@
     Type = IntegralPODTypes[I];
   }
   assert(!Type.isNull() && "Did not find a type!");
-  printf("type should be %s\n", Type.getAsString().c_str());
   
   unsigned TypeAlign = Context.getTypeAlign(Type);
 





More information about the cfe-commits mailing list