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 @@ -263,11 +263,6 @@ namespace llvm {
263263 return Length >= Prefix.Length &&
264264 compareMemory (Data, Prefix.Data , Prefix.Length ) == 0 ;
265265 }
266- [[nodiscard]] LLVM_DEPRECATED(
267- " Use starts_with instead" ,
268- " starts_with" ) bool startswith (StringRef Prefix) const {
269- return starts_with (Prefix);
270- }
271266 [[nodiscard]] bool starts_with (char Prefix) const {
272267 return !empty () && front () == Prefix;
273268 }
@@ -281,11 +276,6 @@ namespace llvm {
281276 compareMemory (end () - Suffix.Length , Suffix.Data , Suffix.Length ) ==
282277 0 ;
283278 }
284- [[nodiscard]] LLVM_DEPRECATED(
285- " Use ends_with instead" ,
286- " ends_with" ) bool endswith (StringRef Suffix) const {
287- return ends_with (Suffix);
288- }
289279 [[nodiscard]] bool ends_with (char Suffix) const {
290280 return !empty () && back () == Suffix;
291281 }
You can’t perform that action at this time.
0 commit comments