blob: bc9ec703770a0780e097df98461ac6b5bc74014a [file] [log] [blame]
//===-- 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