diff options
Diffstat (limited to 'include/lldb/API/SBProcessInfo.h')
-rw-r--r-- | include/lldb/API/SBProcessInfo.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/lldb/API/SBProcessInfo.h b/include/lldb/API/SBProcessInfo.h index 421227f82c2d..86dba9a8e116 100644 --- a/include/lldb/API/SBProcessInfo.h +++ b/include/lldb/API/SBProcessInfo.h @@ -1,9 +1,8 @@ //===-- SBProcessInfo.h -----------------------------------------*- 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 // //===----------------------------------------------------------------------===// @@ -23,6 +22,8 @@ public: SBProcessInfo &operator=(const SBProcessInfo &rhs); + explicit operator bool() const; + bool IsValid() const; const char *GetName(); @@ -56,7 +57,7 @@ private: void SetProcessInfo(const lldb_private::ProcessInstanceInfo &proc_info_ref); - std::unique_ptr<lldb_private::ProcessInstanceInfo> m_opaque_ap; + std::unique_ptr<lldb_private::ProcessInstanceInfo> m_opaque_up; }; } // namespace lldb |