From e81d9d49145e432d917eea3a70d2ae74dcad1d89 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 30 Dec 2015 11:55:28 +0000 Subject: Vendor import of stripped lldb trunk r256633: https://llvm.org/svn/llvm-project/lldb/trunk@256633 --- source/Target/ThreadPlanCallFunctionUsingABI.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'source/Target/ThreadPlanCallFunctionUsingABI.cpp') diff --git a/source/Target/ThreadPlanCallFunctionUsingABI.cpp b/source/Target/ThreadPlanCallFunctionUsingABI.cpp index 53fabd2464e6..df23edc0fd14 100644 --- a/source/Target/ThreadPlanCallFunctionUsingABI.cpp +++ b/source/Target/ThreadPlanCallFunctionUsingABI.cpp @@ -1,4 +1,4 @@ -//===-- ThreadPlanCallFunctionUsingABI.cpp ------------------------------*- C++ -*-===// +//===-- ThreadPlanCallFunctionUsingABI.cpp ----------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -7,13 +7,11 @@ // //===----------------------------------------------------------------------===// -#include "lldb/Target/ThreadPlanCallFunctionUsingABI.h" - // C Includes // C++ Includes // Other libraries and framework includes - // Project includes +#include "lldb/Target/ThreadPlanCallFunctionUsingABI.h" #include "lldb/Core/Address.h" #include "lldb/Core/Log.h" #include "lldb/Core/Stream.h" @@ -57,10 +55,7 @@ ThreadPlanCallFunctionUsingABI::ThreadPlanCallFunctionUsingABI (Thread &thread, m_valid = true; } -ThreadPlanCallFunctionUsingABI::~ThreadPlanCallFunctionUsingABI() -{ - -} +ThreadPlanCallFunctionUsingABI::~ThreadPlanCallFunctionUsingABI() = default; void ThreadPlanCallFunctionUsingABI::GetDescription(Stream *s, DescriptionLevel level) @@ -80,7 +75,7 @@ void ThreadPlanCallFunctionUsingABI::SetReturnValue() { ProcessSP process_sp(m_thread.GetProcess()); - const ABI *abi = process_sp ? process_sp->GetABI().get() : NULL; + const ABI *abi = process_sp ? process_sp->GetABI().get() : nullptr; // Ask the abi for the return value if (abi) -- cgit v1.2.3