Skip to content

Commit b5b250b

Browse files
[ADT] Remove StringRef::{starts,ends}with_insensitive (#74918)
These functions have been deprecated since: commit 1117d80 Author: Kazu Hirata <[email protected]> Date: Mon Jun 5 13:18:07 2023 -0700
1 parent f0c0116 commit b5b250b

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

llvm/include/llvm/ADT/StringRef.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,6 @@ namespace llvm {
264264

265265
/// Check if this string starts with the given \p Prefix, ignoring case.
266266
[[nodiscard]] bool starts_with_insensitive(StringRef Prefix) const;
267-
[[nodiscard]] LLVM_DEPRECATED(
268-
"Use starts_with_insensitive instead",
269-
"starts_with_insensitive") bool startswith_insensitive(StringRef Prefix)
270-
const {
271-
return starts_with_insensitive(Prefix);
272-
}
273267

274268
/// Check if this string ends with the given \p Suffix.
275269
[[nodiscard]] bool ends_with(StringRef Suffix) const {
@@ -283,12 +277,6 @@ namespace llvm {
283277

284278
/// Check if this string ends with the given \p Suffix, ignoring case.
285279
[[nodiscard]] bool ends_with_insensitive(StringRef Suffix) const;
286-
[[nodiscard]] LLVM_DEPRECATED(
287-
"Use ends_with_insensitive instead",
288-
"ends_with_insensitive") bool endswith_insensitive(StringRef Suffix)
289-
const {
290-
return ends_with_insensitive(Suffix);
291-
}
292280

293281
/// @}
294282
/// @name String Searching

0 commit comments

Comments
 (0)