1285101Semaste//===-- NameMatches.h -------------------------------------------*- C++ -*-===// 2285101Semaste// 3353358Sdim// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4353358Sdim// See https://llvm.org/LICENSE.txt for license information. 5353358Sdim// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6285101Semaste// 7285101Semaste//===----------------------------------------------------------------------===// 8285101Semaste#ifndef LLDB_UTILITY_NAMEMATCHES_H 9285101Semaste#define LLDB_UTILITY_NAMEMATCHES_H 10285101Semaste 11314564Sdim#include "llvm/ADT/StringRef.h" 12314564Sdim 13314564Sdimnamespace lldb_private { 14321369Sdim 15321369Sdimenum class NameMatch { 16321369Sdim Ignore, 17321369Sdim Equals, 18321369Sdim Contains, 19321369Sdim StartsWith, 20321369Sdim EndsWith, 21321369Sdim RegularExpression 22321369Sdim}; 23321369Sdim 24321369Sdimbool NameMatches(llvm::StringRef name, NameMatch match_type, 25314564Sdim llvm::StringRef match); 26285101Semaste} 27285101Semaste 28285101Semaste#endif 29