diff options
Diffstat (limited to 'include/lldb/API/SBLineEntry.h')
-rw-r--r-- | include/lldb/API/SBLineEntry.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/lldb/API/SBLineEntry.h b/include/lldb/API/SBLineEntry.h index 3d58ea8278ea..855c28d14b83 100644 --- a/include/lldb/API/SBLineEntry.h +++ b/include/lldb/API/SBLineEntry.h @@ -1,9 +1,8 @@ //===-- SBLineEntry.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 // //===----------------------------------------------------------------------===// @@ -30,6 +29,8 @@ public: lldb::SBAddress GetEndAddress() const; + explicit operator bool() const; + bool IsValid() const; lldb::SBFileSpec GetFileSpec() const; @@ -69,7 +70,7 @@ private: void SetLineEntry(const lldb_private::LineEntry &lldb_object_ref); - std::unique_ptr<lldb_private::LineEntry> m_opaque_ap; + std::unique_ptr<lldb_private::LineEntry> m_opaque_up; }; } // namespace lldb |