BitcodeReader: Avoid std::vector with non-movable types from r267296

r267298 didn't quite fix the build errors.  Use SmallVector instead of
std::vector, the latter of which I think is trying to maintain a strong
exception safety guarantee.

http://lab.llvm.org:8011/builders/lldb-amd64-ninja-freebsd11/builds/6228

llvm-svn: 267299
This commit is contained in:
Duncan P. N. Exon Smith 2016-04-23 21:36:59 +00:00
parent ece57ddd56
commit 69bdc8afa9
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class BitcodeReaderMetadataList {
SmallDenseMap<MDString *, TempMDTuple, 1> Unknown;
SmallDenseMap<MDString *, DICompositeType *, 1> Final;
SmallDenseMap<MDString *, DICompositeType *, 1> FwdDecls;
std::vector<std::pair<TrackingMDRef, TempMDTuple>> Arrays;
SmallVector<std::pair<TrackingMDRef, TempMDTuple>, 1> Arrays;
} OldTypeRefs;
LLVMContext &Context;