LLDB
mainline
llvm-project
lldb
include
lldb
Utility
NameMatches.h
Go to the documentation of this file.
1
//===-- NameMatches.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
#ifndef LLDB_UTILITY_NAMEMATCHES_H
9
#define LLDB_UTILITY_NAMEMATCHES_H
10
11
#include "llvm/ADT/StringRef.h"
12
13
namespace
lldb_private
{
14
15
enum class
NameMatch
{
16
Ignore
,
17
Equals
,
18
Contains
,
19
StartsWith
,
20
EndsWith
,
21
RegularExpression
22
};
23
24
bool
NameMatches
(llvm::StringRef name,
NameMatch
match_type,
25
llvm::StringRef match);
26
}
27
28
#endif
lldb_private::RegularExpression
Definition:
RegularExpression.h:18
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAddressRange.h:14
lldb_private::NameMatch
NameMatch
Definition:
NameMatches.h:15
lldb_private::NameMatch::Equals
@ Equals
lldb_private::NameMatch::EndsWith
@ EndsWith
lldb_private::NameMatch::StartsWith
@ StartsWith
lldb_private::NameMatch::Contains
@ Contains
lldb_private::NameMatch::Ignore
@ Ignore
lldb_private::NameMatches
bool NameMatches(llvm::StringRef name, NameMatch match_type, llvm::StringRef match)
Definition:
NameMatches.cpp:15
Generated on Wed Nov 20 2024 18:14:39 for LLDB by
1.9.6