Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:57

0001 //===-- NameMatches.h -------------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 #ifndef LLDB_UTILITY_NAMEMATCHES_H
0009 #define LLDB_UTILITY_NAMEMATCHES_H
0010 
0011 #include "llvm/ADT/StringRef.h"
0012 
0013 namespace lldb_private {
0014 
0015 enum class NameMatch {
0016   Ignore,
0017   Equals,
0018   Contains,
0019   StartsWith,
0020   EndsWith,
0021   RegularExpression
0022 };
0023 
0024 bool NameMatches(llvm::StringRef name, NameMatch match_type,
0025                  llvm::StringRef match);
0026 }
0027 
0028 #endif