mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-12 05:56:28 +00:00
Remove duplicated default move ctors/move assign. No functional change.
llvm-svn: 285302
This commit is contained in:
parent
e121eccc6f
commit
49bf5a5fa4
@ -176,19 +176,8 @@ private:
|
||||
DebugMapObject() = default;
|
||||
|
||||
public:
|
||||
DebugMapObject &operator=(DebugMapObject RHS) {
|
||||
std::swap(Filename, RHS.Filename);
|
||||
std::swap(Timestamp, RHS.Timestamp);
|
||||
std::swap(Symbols, RHS.Symbols);
|
||||
std::swap(AddressToMapping, RHS.AddressToMapping);
|
||||
return *this;
|
||||
}
|
||||
DebugMapObject(DebugMapObject &&RHS) {
|
||||
Filename = std::move(RHS.Filename);
|
||||
Timestamp = std::move(RHS.Timestamp);
|
||||
Symbols = std::move(RHS.Symbols);
|
||||
AddressToMapping = std::move(RHS.AddressToMapping);
|
||||
}
|
||||
DebugMapObject(DebugMapObject &&) = default;
|
||||
DebugMapObject &operator=(DebugMapObject &&) = default;
|
||||
///@}
|
||||
};
|
||||
}
|
||||
|
@ -57,15 +57,6 @@ struct InstantiationView {
|
||||
InstantiationView(StringRef FunctionName, unsigned Line,
|
||||
std::unique_ptr<SourceCoverageView> View)
|
||||
: FunctionName(FunctionName), Line(Line), View(std::move(View)) {}
|
||||
InstantiationView(InstantiationView &&RHS)
|
||||
: FunctionName(std::move(RHS.FunctionName)), Line(std::move(RHS.Line)),
|
||||
View(std::move(RHS.View)) {}
|
||||
InstantiationView &operator=(InstantiationView &&RHS) {
|
||||
FunctionName = std::move(RHS.FunctionName);
|
||||
Line = std::move(RHS.Line);
|
||||
View = std::move(RHS.View);
|
||||
return *this;
|
||||
}
|
||||
|
||||
friend bool operator<(const InstantiationView &LHS,
|
||||
const InstantiationView &RHS) {
|
||||
|
Loading…
Reference in New Issue
Block a user