LLDB
mainline
llvm-project
lldb
include
lldb
API
SBTypeNameSpecifier.h
Go to the documentation of this file.
1
//===-- SBTypeNameSpecifier.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_API_SBTYPENAMESPECIFIER_H
11
#define LLDB_API_SBTYPENAMESPECIFIER_H
12
13
#include "
lldb/API/SBDefines.h
"
14
15
namespace
lldb
{
16
17
class
LLDB_API
SBTypeNameSpecifier
{
18
public
:
19
SBTypeNameSpecifier
();
20
21
SBTypeNameSpecifier
(
const
char
*name,
bool
is_regex =
false
);
22
23
SBTypeNameSpecifier
(
const
char
*name,
24
lldb::FormatterMatchType
match_type);
25
26
SBTypeNameSpecifier
(
SBType
type);
27
28
SBTypeNameSpecifier
(
const
lldb::SBTypeNameSpecifier
&rhs);
29
30
~SBTypeNameSpecifier
();
31
32
explicit
operator
bool()
const
;
33
34
bool
IsValid()
const
;
35
36
const
char
*
GetName
();
37
38
SBType
GetType();
39
40
lldb::FormatterMatchType
GetMatchType();
41
42
bool
IsRegex();
43
44
bool
GetDescription(
lldb::SBStream
&description,
45
lldb::DescriptionLevel
description_level);
46
47
lldb::SBTypeNameSpecifier
&operator=(
const
lldb::SBTypeNameSpecifier
&rhs);
48
49
bool
IsEqualTo(
lldb::SBTypeNameSpecifier
&rhs);
50
51
bool
operator==
(
lldb::SBTypeNameSpecifier
&rhs);
52
53
bool
operator!=(
lldb::SBTypeNameSpecifier
&rhs);
54
55
protected
:
56
friend
class
SBDebugger
;
57
friend
class
SBTypeCategory
;
58
59
lldb::TypeNameSpecifierImplSP
GetSP();
60
61
void
SetSP(
const
lldb::TypeNameSpecifierImplSP
&type_namespec_sp);
62
63
lldb::TypeNameSpecifierImplSP
m_opaque_sp
;
64
65
SBTypeNameSpecifier
(
const
lldb::TypeNameSpecifierImplSP
&);
66
};
67
68
}
// namespace lldb
69
70
#endif
// LLDB_API_SBTYPENAMESPECIFIER_H
GetName
static const char * GetName(DWARFDeclContext::Entry entry)
Returns the name of entry if it has one, or the appropriate "anonymous {namespace,...
Definition:
DWARFDeclContext.cpp:17
SBDefines.h
LLDB_API
#define LLDB_API
Definition:
SBDefines.h:28
lldb::SBDebugger
Definition:
SBDebugger.h:43
lldb::SBStream
Definition:
SBStream.h:18
lldb::SBTypeCategory
Definition:
SBTypeCategory.h:17
lldb::SBTypeNameSpecifier
Definition:
SBTypeNameSpecifier.h:17
lldb::SBTypeNameSpecifier::~SBTypeNameSpecifier
~SBTypeNameSpecifier()
lldb::SBTypeNameSpecifier::m_opaque_sp
lldb::TypeNameSpecifierImplSP m_opaque_sp
Definition:
SBTypeNameSpecifier.h:63
lldb::SBType
Definition:
SBType.h:110
lldb
Definition:
SBAddress.h:15
lldb::DescriptionLevel
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.
Definition:
lldb-enumerations.h:208
lldb::TypeNameSpecifierImplSP
std::shared_ptr< lldb_private::TypeNameSpecifierImpl > TypeNameSpecifierImplSP
Definition:
lldb-forward.h:462
lldb::FormatterMatchType
FormatterMatchType
Type of match to be performed when looking for a formatter for a data type.
Definition:
lldb-enumerations.h:886
lldb::operator==
bool LLDB_API operator==(const SBAddress &lhs, const SBAddress &rhs)
Definition:
SBAddress.cpp:60
Generated on Mon Apr 22 2024 23:19:45 for LLDB by
1.9.6