diff options
Diffstat (limited to 'source/Target/ThreadSpec.cpp')
-rw-r--r-- | source/Target/ThreadSpec.cpp | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/source/Target/ThreadSpec.cpp b/source/Target/ThreadSpec.cpp index bae3d0b2238fb..1a733cb551e57 100644 --- a/source/Target/ThreadSpec.cpp +++ b/source/Target/ThreadSpec.cpp @@ -1,9 +1,8 @@ //===-- ThreadSpec.cpp ------------------------------------------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// 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 // //===----------------------------------------------------------------------===// @@ -22,18 +21,6 @@ ThreadSpec::ThreadSpec() : m_index(UINT32_MAX), m_tid(LLDB_INVALID_THREAD_ID), m_name(), m_queue_name() {} -ThreadSpec::ThreadSpec(const ThreadSpec &rhs) - : m_index(rhs.m_index), m_tid(rhs.m_tid), m_name(rhs.m_name), - m_queue_name(rhs.m_queue_name) {} - -const ThreadSpec &ThreadSpec::operator=(const ThreadSpec &rhs) { - m_index = rhs.m_index; - m_tid = rhs.m_tid; - m_name = rhs.m_name; - m_queue_name = rhs.m_queue_name; - return *this; -} - std::unique_ptr<ThreadSpec> ThreadSpec::CreateFromStructuredData( const StructuredData::Dictionary &spec_dict, Status &error) { uint32_t index = UINT32_MAX; |