NameMatches.h revision 321369
1285101Semaste//===-- NameMatches.h -------------------------------------------*- C++ -*-===// 2285101Semaste// 3285101Semaste// The LLVM Compiler Infrastructure 4285101Semaste// 5285101Semaste// This file is distributed under the University of Illinois Open Source 6285101Semaste// License. See LICENSE.TXT for details. 7285101Semaste// 8285101Semaste//===----------------------------------------------------------------------===// 9285101Semaste#ifndef LLDB_UTILITY_NAMEMATCHES_H 10285101Semaste#define LLDB_UTILITY_NAMEMATCHES_H 11285101Semaste 12314564Sdim#include "llvm/ADT/StringRef.h" 13314564Sdim 14314564Sdimnamespace lldb_private { 15321369Sdim 16321369Sdimenum class NameMatch { 17321369Sdim Ignore, 18321369Sdim Equals, 19321369Sdim Contains, 20321369Sdim StartsWith, 21321369Sdim EndsWith, 22321369Sdim RegularExpression 23321369Sdim}; 24321369Sdim 25321369Sdimbool NameMatches(llvm::StringRef name, NameMatch match_type, 26314564Sdim llvm::StringRef match); 27285101Semaste} 28285101Semaste 29285101Semaste#endif 30