mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-09 01:29:52 +00:00
Revert "[lldb] followup fix for https://reviews.llvm.org/D62305"
This fails on the Windows bot: cannot convert from 'initializer list' to 'lldb::thread_result_t' llvm-svn: 361583
This commit is contained in:
parent
79872a88a0
commit
ecd111533d
@ -18,10 +18,10 @@ using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
HostNativeThreadBase::HostNativeThreadBase()
|
||||
: m_thread(LLDB_INVALID_HOST_THREAD), m_result({}) {}
|
||||
: m_thread(LLDB_INVALID_HOST_THREAD), m_result(0) {}
|
||||
|
||||
HostNativeThreadBase::HostNativeThreadBase(thread_t thread)
|
||||
: m_thread(thread), m_result({}) {}
|
||||
: m_thread(thread), m_result(0) {}
|
||||
|
||||
lldb::thread_t HostNativeThreadBase::GetSystemHandle() const {
|
||||
return m_thread;
|
||||
@ -37,7 +37,7 @@ bool HostNativeThreadBase::IsJoinable() const {
|
||||
|
||||
void HostNativeThreadBase::Reset() {
|
||||
m_thread = LLDB_INVALID_HOST_THREAD;
|
||||
m_result = {};
|
||||
m_result = 0;
|
||||
}
|
||||
|
||||
bool HostNativeThreadBase::EqualsThread(lldb::thread_t thread) const {
|
||||
@ -47,7 +47,7 @@ bool HostNativeThreadBase::EqualsThread(lldb::thread_t thread) const {
|
||||
lldb::thread_t HostNativeThreadBase::Release() {
|
||||
lldb::thread_t result = m_thread;
|
||||
m_thread = LLDB_INVALID_HOST_THREAD;
|
||||
m_result = {};
|
||||
m_result = 0;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user