On May 14, 2011, at 9:39 PM, Chris Lattner wrote: > On May 14, 2011, at 6:53 PM, John McCall wrote: >> Author: rjmccall >> Date: Sat May 14 20:53:33 2011 >> New Revision: 131373 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=131373&view=rev >> Log: >> 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. :) John. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
