blob: bc9ec703770a0780e097df98461ac6b5bc74014a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
//===-- NameMatches.h -------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef LLDB_UTILITY_NAMEMATCHES_H
#define LLDB_UTILITY_NAMEMATCHES_H
#include "llvm/ADT/StringRef.h"
namespace lldb_private {
enum class NameMatch {
Ignore,
Equals,
Contains,
StartsWith,
EndsWith,
RegularExpression
};
bool NameMatches(llvm::StringRef name, NameMatch match_type,
llvm::StringRef match);
}
#endif
|