[all-commits] [llvm/llvm-project] 5ac129: [ADT] Deprecate StringRef::{starts, ends}with (#75491)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sun Dec 17 15:53:03 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5ac12951b4e9bbfcc5791282d0961ec2b65575e9
https://github.com/llvm/llvm-project/commit/5ac12951b4e9bbfcc5791282d0961ec2b65575e9
Author: Kazu Hirata <kazu at google.com>
Date: 2023-12-17 (Sun, 17 Dec 2023)
Changed paths:
M llvm/include/llvm/ADT/StringRef.h
Log Message:
-----------
[ADT] Deprecate StringRef::{starts,ends}with (#75491)
This patch deprecates StringRef::{starts,ends}with. Note that I've
replaced all known uses of StringRef::{starts,ends}with with
StringRef::{starts,ends}_with for consistency with
std::{string,string_view}::{starts,ends}_with in C++20.
More information about the All-commits
mailing list