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:
1 parent
ece57ddd56
commit
69bdc8afa9
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user