[cfe-commits] r131373 - in /cfe/trunk/lib/CodeGen: CGBlocks.cpp CGObjC.cpp CGObjCMac.cpp CodeGenModule.cpp CodeGenModule.h
Chris Lattner
clattner at apple.com
Sat May 14 21:41:33 PDT 2011
On May 14, 2011, at 9:40 PM, John McCall wrote:
>>> Use arrays and SmallVectors instead of std::vectors when building function
>>> types. Also, cache a translation of 'void' in CGM and provide a ptrdiff_t
>>> alias. No functionality change.
>>
>> I don't know if it makes sense in this case, but instead of passing a SmallVectorImpl<x>, consider passing an ArrayRef<x>
>
> I believe all of these cases are mutable. I do know about ArrayRef. :)
Ok!
-Chris
More information about the cfe-commits
mailing list