Importing rustc-1.56.0 Change-Id: I98941481270706fa55f8fb2cb91686ae3bd30f38
diff --git a/src/llvm-project/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp b/src/llvm-project/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp index 989247b..7ece7f5 100644 --- a/src/llvm-project/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp +++ b/src/llvm-project/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
@@ -98,7 +98,7 @@ m_get_item_info_return_buffer_addr(LLDB_INVALID_ADDRESS), m_get_item_info_retbuffer_mutex() {} -AppleGetItemInfoHandler::~AppleGetItemInfoHandler() {} +AppleGetItemInfoHandler::~AppleGetItemInfoHandler() = default; void AppleGetItemInfoHandler::Detach() { @@ -258,26 +258,26 @@ CompilerType clang_void_ptr_type = clang_ast_context->GetBasicType(eBasicTypeVoid).GetPointerType(); Value return_buffer_ptr_value; - return_buffer_ptr_value.SetValueType(Value::eValueTypeScalar); + return_buffer_ptr_value.SetValueType(Value::ValueType::Scalar); return_buffer_ptr_value.SetCompilerType(clang_void_ptr_type); CompilerType clang_int_type = clang_ast_context->GetBasicType(eBasicTypeInt); Value debug_value; - debug_value.SetValueType(Value::eValueTypeScalar); + debug_value.SetValueType(Value::ValueType::Scalar); debug_value.SetCompilerType(clang_int_type); CompilerType clang_uint64_type = clang_ast_context->GetBasicType(eBasicTypeUnsignedLongLong); Value item_value; - item_value.SetValueType(Value::eValueTypeScalar); + item_value.SetValueType(Value::ValueType::Scalar); item_value.SetCompilerType(clang_uint64_type); Value page_to_free_value; - page_to_free_value.SetValueType(Value::eValueTypeScalar); + page_to_free_value.SetValueType(Value::ValueType::Scalar); page_to_free_value.SetCompilerType(clang_void_ptr_type); Value page_to_free_size_value; - page_to_free_size_value.SetValueType(Value::eValueTypeScalar); + page_to_free_size_value.SetValueType(Value::ValueType::Scalar); page_to_free_size_value.SetCompilerType(clang_uint64_type); std::lock_guard<std::mutex> guard(m_get_item_info_retbuffer_mutex);