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;
///@}
};
}
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) {