1 //===-- LibStdcpp.h ---------------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_LIBSTDCPP_H
10 #define LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_LIBSTDCPP_H
12 #include "lldb/DataFormatters/TypeSummary.h"
13 #include "lldb/DataFormatters/TypeSynthetic.h"
14 #include "lldb/Utility/Stream.h"
15 #include "lldb/ValueObject/ValueObject.h"
17 namespace lldb_private
{
18 namespace formatters
{
19 bool LibStdcppStringSummaryProvider(
20 ValueObject
&valobj
, Stream
&stream
,
21 const TypeSummaryOptions
&options
); // libcstdc++ c++11 std::string
23 bool LibStdcppWStringSummaryProvider(
24 ValueObject
&valobj
, Stream
&stream
,
25 const TypeSummaryOptions
&options
); // libcstdc++ c++11 std::wstring
27 bool LibStdcppSmartPointerSummaryProvider(
28 ValueObject
&valobj
, Stream
&stream
,
29 const TypeSummaryOptions
30 &options
); // libstdc++ std::shared_ptr<> and std::weak_ptr<>
32 bool LibStdcppUniquePointerSummaryProvider(
33 ValueObject
&valobj
, Stream
&stream
,
34 const TypeSummaryOptions
&options
); // libstdc++ std::unique_ptr<>
36 SyntheticChildrenFrontEnd
*
37 LibstdcppMapIteratorSyntheticFrontEndCreator(CXXSyntheticChildren
*,
40 SyntheticChildrenFrontEnd
*
41 LibStdcppTupleSyntheticFrontEndCreator(CXXSyntheticChildren
*,
44 SyntheticChildrenFrontEnd
*
45 LibStdcppBitsetSyntheticFrontEndCreator(CXXSyntheticChildren
*,
48 SyntheticChildrenFrontEnd
*
49 LibStdcppOptionalSyntheticFrontEndCreator(CXXSyntheticChildren
*,
52 SyntheticChildrenFrontEnd
*
53 LibStdcppVectorIteratorSyntheticFrontEndCreator(CXXSyntheticChildren
*,
56 SyntheticChildrenFrontEnd
*
57 LibStdcppSharedPtrSyntheticFrontEndCreator(CXXSyntheticChildren
*,
60 SyntheticChildrenFrontEnd
*
61 LibStdcppUniquePtrSyntheticFrontEndCreator(CXXSyntheticChildren
*,
64 } // namespace formatters
65 } // namespace lldb_private
67 #endif // LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_LIBSTDCPP_H