mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 18:06:49 +00:00
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267299 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e66594f0e9
commit
6e9c743e87
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user