LLDB mainline
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
13namespace lldb_private {
14
15enum class NameMatch {
16 Ignore,
17 Equals,
22};
23
24bool NameMatches(llvm::StringRef name, NameMatch match_type,
25 llvm::StringRef match);
26}
27
28#endif
A class that represents a running process on the host machine.
bool NameMatches(llvm::StringRef name, NameMatch match_type, llvm::StringRef match)
Definition: NameMatches.cpp:15