From: Anders Carlsson Date: Sun, 17 Apr 2011 21:32:41 +0000 (+0000) Subject: Use a SmallVector for field types in CGRecordLayoutBuilder now that llvm::StructType... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2786a81415c43cf3110d197b20987c352edbd0fe;p=clang Use a SmallVector for field types in CGRecordLayoutBuilder now that llvm::StructType::get takes an ArrayRef. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129667 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGRecordLayoutBuilder.cpp b/lib/CodeGen/CGRecordLayoutBuilder.cpp index 9b1adf46fe..8f070f3e1c 100644 --- a/lib/CodeGen/CGRecordLayoutBuilder.cpp +++ b/lib/CodeGen/CGRecordLayoutBuilder.cpp @@ -34,7 +34,7 @@ class CGRecordLayoutBuilder { public: /// FieldTypes - Holds the LLVM types that the struct is created from. /// - std::vector FieldTypes; + llvm::SmallVector FieldTypes; /// BaseSubobjectType - Holds the LLVM type for the non-virtual part /// of the struct. For example, consider: