mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Try harder to appease MSVC after r265456
r265465 wasn't good enough. I need to spell out all the moves. llvm-svn: 265470
This commit is contained in:
parent
7a53b05767
commit
1e3026f0bd
@ -105,9 +105,18 @@ class MDNodeMapper {
|
||||
unsigned ID = ~0u;
|
||||
TempMDNode Placeholder;
|
||||
|
||||
Data() = default;
|
||||
Data(Data &&) = default;
|
||||
Data &operator=(Data &&) = default;
|
||||
Data() {}
|
||||
Data(Data &&X)
|
||||
: HasChangedOps(std::move(X.HasChangedOps)),
|
||||
HasChangedAddress(std::move(X.HasChangedAddress)),
|
||||
ID(std::move(X.ID)), Placeholder(std::move(X.Placeholder)) {}
|
||||
Data &operator=(Data &&X) {
|
||||
HasChangedOps = std::move(X.HasChangedOps);
|
||||
HasChangedAddress = std::move(X.HasChangedAddress);
|
||||
ID = std::move(X.ID);
|
||||
Placeholder = std::move(X.Placeholder);
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
SmallDenseMap<const Metadata *, Data, 32> Info;
|
||||
|
Loading…
x
Reference in New Issue
Block a user