diff options
Diffstat (limited to 'include/lldb/API/SBStream.h')
| -rw-r--r-- | include/lldb/API/SBStream.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/lldb/API/SBStream.h b/include/lldb/API/SBStream.h index 7364ca7797f8..8afbf4575621 100644 --- a/include/lldb/API/SBStream.h +++ b/include/lldb/API/SBStream.h @@ -1,9 +1,8 @@ //===-- SBStream.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 // //===----------------------------------------------------------------------===// @@ -24,6 +23,8 @@ public: ~SBStream(); + explicit operator bool() const; + bool IsValid() const; // If this stream is not redirected to a file, it will maintain a local cache @@ -95,7 +96,7 @@ protected: private: DISALLOW_COPY_AND_ASSIGN(SBStream); - std::unique_ptr<lldb_private::Stream> m_opaque_ap; + std::unique_ptr<lldb_private::Stream> m_opaque_up; bool m_is_file; }; |
