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
22bool GenericErrorCodeSummaryProvider(ValueObject &valobj, Stream &stream,
23 const TypeSummaryOptions &options);
24SyntheticChildrenFrontEnd *
26 lldb::ValueObjectSP valobj_sp);
27
29 const TypeSummaryOptions &options);
30
31/// Return the ValueObjectSP of the underlying pointer member whose type
32/// is a desugared 'std::shared_ptr::element_type *'.
34 ValueObject &container);
35
38 lldb::ValueObjectSP valobj_sp);
39
40// std::queue / std::stack / std::priority_queue. The underlying container
41// is the standard protected member `c`.
44 lldb::ValueObjectSP valobj_sp);
45} // namespace formatters
46} // namespace lldb_private
47
48#endif // LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_GENERIC_H
A stream class that can stream formatted output to a file.
Definition Stream.h:28
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
SyntheticChildrenFrontEnd * GenericErrorCodeSyntheticFrontEndCreator(CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp)
SyntheticChildrenFrontEnd * GenericInitializerListSyntheticFrontEndCreator(CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp)
SyntheticChildrenFrontEnd * GenericContainerAdaptorFrontEndCreator(CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp)
bool GenericOptionalSummaryProvider(ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options)
bool GenericErrorCodeSummaryProvider(ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options)
bool GenericFilesystemPathSummaryProvider(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