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

Chris Lattner clattner at apple.com
Tue Oct 23 17:42:27 PDT 2007


On Oct 23, 2007, at 5:38 PM, Devang Patel wrote:

>
>
>>>> +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.

Ahh, ok then!

-Chris



More information about the cfe-commits mailing list