diff options
Diffstat (limited to 'contrib/llvm-project/lldb/source/Utility/NameMatches.cpp')
| -rw-r--r-- | contrib/llvm-project/lldb/source/Utility/NameMatches.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/lldb/source/Utility/NameMatches.cpp b/contrib/llvm-project/lldb/source/Utility/NameMatches.cpp index 1c8cd6a0ca31..f002b86f163b 100644 --- a/contrib/llvm-project/lldb/source/Utility/NameMatches.cpp +++ b/contrib/llvm-project/lldb/source/Utility/NameMatches.cpp @@ -22,9 +22,9 @@ bool lldb_private::NameMatches(llvm::StringRef name, NameMatch match_type, case NameMatch::Contains: return name.contains(match); case NameMatch::StartsWith: - return name.startswith(match); + return name.starts_with(match); case NameMatch::EndsWith: - return name.endswith(match); + return name.ends_with(match); case NameMatch::RegularExpression: { RegularExpression regex(match); return regex.Execute(name); |
