File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -258,11 +258,6 @@ namespace llvm {
258
258
return Length >= Prefix.Length &&
259
259
compareMemory (Data, Prefix.Data , Prefix.Length ) == 0 ;
260
260
}
261
- [[nodiscard]] LLVM_DEPRECATED(
262
- " Use starts_with instead" ,
263
- " starts_with" ) bool startswith (StringRef Prefix) const {
264
- return starts_with (Prefix);
265
- }
266
261
267
262
// / Check if this string starts with the given \p Prefix, ignoring case.
268
263
[[nodiscard]] bool starts_with_insensitive (StringRef Prefix) const ;
@@ -273,11 +268,6 @@ namespace llvm {
273
268
compareMemory (end () - Suffix.Length , Suffix.Data , Suffix.Length ) ==
274
269
0 ;
275
270
}
276
- [[nodiscard]] LLVM_DEPRECATED(
277
- " Use ends_with instead" ,
278
- " ends_with" ) bool endswith (StringRef Suffix) const {
279
- return ends_with (Suffix);
280
- }
281
271
282
272
// / Check if this string ends with the given \p Suffix, ignoring case.
283
273
[[nodiscard]] bool ends_with_insensitive (StringRef Suffix) const ;
You can’t perform that action at this time.
0 commit comments