diff options
Diffstat (limited to 'include/lldb/API/SBFileSpec.h')
-rw-r--r-- | include/lldb/API/SBFileSpec.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/include/lldb/API/SBFileSpec.h b/include/lldb/API/SBFileSpec.h index 9ad1a5df0cfa..27149775901e 100644 --- a/include/lldb/API/SBFileSpec.h +++ b/include/lldb/API/SBFileSpec.h @@ -1,9 +1,8 @@ //===-- SBFileSpec.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 // //===----------------------------------------------------------------------===// @@ -29,6 +28,12 @@ public: const SBFileSpec &operator=(const lldb::SBFileSpec &rhs); + explicit operator bool() const; + + bool operator==(const SBFileSpec &rhs) const; + + bool operator!=(const SBFileSpec &rhs) const; + bool IsValid() const; bool Exists() const; @@ -59,7 +64,6 @@ private: friend class SBDeclaration; friend class SBFileSpecList; friend class SBHostOS; - friend class SBInitializerOptions; friend class SBLaunchInfo; friend class SBLineEntry; friend class SBModule; @@ -83,7 +87,7 @@ private: const lldb_private::FileSpec &ref() const; - std::unique_ptr<lldb_private::FileSpec> m_opaque_ap; + std::unique_ptr<lldb_private::FileSpec> m_opaque_up; }; } // namespace lldb |