forked from OSchip/llvm-project
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:
parent
ece57ddd56
commit
69bdc8afa9
|
@ -119,7 +119,7 @@ class BitcodeReaderMetadataList {
|
||||||
SmallDenseMap<MDString *, TempMDTuple, 1> Unknown;
|
SmallDenseMap<MDString *, TempMDTuple, 1> Unknown;
|
||||||
SmallDenseMap<MDString *, DICompositeType *, 1> Final;
|
SmallDenseMap<MDString *, DICompositeType *, 1> Final;
|
||||||
SmallDenseMap<MDString *, DICompositeType *, 1> FwdDecls;
|
SmallDenseMap<MDString *, DICompositeType *, 1> FwdDecls;
|
||||||
std::vector<std::pair<TrackingMDRef, TempMDTuple>> Arrays;
|
SmallVector<std::pair<TrackingMDRef, TempMDTuple>, 1> Arrays;
|
||||||
} OldTypeRefs;
|
} OldTypeRefs;
|
||||||
|
|
||||||
LLVMContext &Context;
|
LLVMContext &Context;
|
||||||
|
|
Loading…
Reference in New Issue