LLDB  mainline
CxxStringTypes.h
Go to the documentation of this file.
1 //===-- CxxStringTypes.h ----------------------------------------------*- C++
2 //-*-===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_CXXSTRINGTYPES_H
11 #define LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_CXXSTRINGTYPES_H
12 
13 #include "lldb/Core/ValueObject.h"
15 #include "lldb/Utility/Stream.h"
16 
17 namespace lldb_private {
18 namespace formatters {
19 bool Char8StringSummaryProvider(ValueObject &valobj, Stream &stream,
20  const TypeSummaryOptions &options); // char8_t*
21 
23  ValueObject &valobj, Stream &stream,
24  const TypeSummaryOptions &options); // char16_t* and unichar*
25 
27  ValueObject &valobj, Stream &stream,
28  const TypeSummaryOptions &options); // char32_t*
29 
30 bool WCharStringSummaryProvider(ValueObject &valobj, Stream &stream,
31  const TypeSummaryOptions &options); // wchar_t*
32 
33 bool Char8SummaryProvider(ValueObject &valobj, Stream &stream,
34  const TypeSummaryOptions &options); // char8_t
35 
37  ValueObject &valobj, Stream &stream,
38  const TypeSummaryOptions &options); // char16_t and unichar
39 
40 bool Char32SummaryProvider(ValueObject &valobj, Stream &stream,
41  const TypeSummaryOptions &options); // char32_t
42 
43 bool WCharSummaryProvider(ValueObject &valobj, Stream &stream,
44  const TypeSummaryOptions &options); // wchar_t
45 
46 } // namespace formatters
47 } // namespace lldb_private
48 
49 #endif // LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_CXXSTRINGTYPES_H
lldb_private::formatters::Char32SummaryProvider
bool Char32SummaryProvider(ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options)
Definition: CxxStringTypes.cpp:164
lldb_private::formatters::WCharSummaryProvider
bool WCharSummaryProvider(ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options)
Definition: CxxStringTypes.cpp:169
lldb_private::formatters::Char16StringSummaryProvider
bool Char16StringSummaryProvider(ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options)
Definition: CxxStringTypes.cpp:102
lldb_private::formatters::Char8SummaryProvider
bool Char8SummaryProvider(ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options)
Definition: CxxStringTypes.cpp:154
lldb_private::formatters::Char8StringSummaryProvider
bool Char8StringSummaryProvider(ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options)
Definition: CxxStringTypes.cpp:97
ValueObject.h
lldb_private::formatters::Char32StringSummaryProvider
bool Char32StringSummaryProvider(ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options)
Definition: CxxStringTypes.cpp:107
TypeSummary.h
lldb_private::formatters::WCharStringSummaryProvider
bool WCharStringSummaryProvider(ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options)
Definition: CxxStringTypes.cpp:112
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::formatters::Char16SummaryProvider
bool Char16SummaryProvider(ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options)
Definition: CxxStringTypes.cpp:159
Stream.h