Jonas Devlieghere fd2433e139 [lldb] Replace default bodies of special member functions with = default;
Replace default bodies of special member functions with = default;

$ run-clang-tidy.py -header-filter='lldb' -checks='-*,modernize-use-equals-default' -fix ,

https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html

Differential revision: https://reviews.llvm.org/D104041
2021-07-02 11:31:16 -07:00

25 lines
715 B
C++

//===-- Stoppoint.cpp -----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "lldb/Breakpoint/Stoppoint.h"
#include "lldb/lldb-private.h"
using namespace lldb;
using namespace lldb_private;
// Stoppoint constructor
Stoppoint::Stoppoint() = default;
// Destructor
Stoppoint::~Stoppoint() = default;
break_id_t Stoppoint::GetID() const { return m_bid; }
void Stoppoint::SetID(break_id_t bid) { m_bid = bid; }