From: Bill Wendling Date: Tue, 7 Feb 2012 00:54:58 +0000 (+0000) Subject: Bump up the initial vector size to avoid having to grow the vector more often. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf6511be740688c6fc554aaaeee1da9853b3c7df;p=clang Bump up the initial vector size to avoid having to grow the vector more often. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149945 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index 52ae9ee7c4..ccb4b930e6 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -40,7 +40,7 @@ class ConstStructBuilder { bool Packed; CharUnits NextFieldOffsetInChars; CharUnits LLVMStructAlignment; - SmallVector Elements; + SmallVector Elements; public: static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF, InitListExpr *ILE);