LLDB mainline
Generic.h
Go to the documentation of this file.
1//===-- LibCxx.h -----------------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_GENERIC_H
10#define LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_GENERIC_H
11
13#include "lldb/Utility/Stream.h"
15
16namespace lldb_private {
17namespace formatters {
18
19bool GenericOptionalSummaryProvider(ValueObject &valobj, Stream &stream,
20 const TypeSummaryOptions &options);
21
22/// Return the ValueObjectSP of the underlying pointer member whose type
23/// is a desugared 'std::shared_ptr::element_type *'.
25 ValueObject &container);
26
27} // namespace formatters
28} // namespace lldb_private
29
30#endif // LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_GENERIC_H
lldb::ValueObjectSP GetDesugaredSmartPointerValue(ValueObject &ptr, ValueObject &container)
Return the ValueObjectSP of the underlying pointer member whose type is a desugared 'std::shared_ptr:...
Definition Generic.cpp:13
bool GenericOptionalSummaryProvider(ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options)
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP