[cfe-commits] r43236 - in /cfe/trunk/CodeGen: CodeGenFunction.cpp CodeGenFunction.h CodeGenTypes.cpp CodeGenTypes.h

Devang Patel dpatel at apple.com
Tue Oct 23 17:38:48 PDT 2007



>>> +void RecordOrganizer::layoutFields(CodeGenTypes &CGT) {
>>> +  // FIXME : Use SmallVector
>>> +  std::vector<const llvm::Type*> Fields;
>>
>> Now that Fields is on the stack, just do it :)

Can't do that. This vector is used to get llvm::StructType which does  
not accept SmallVector.


-
Devang






More information about the cfe-commits mailing list