[all-commits] [llvm/llvm-project] 9bb84c: [ADT] Add StringRef::{starts, ends}_with(char) (#90...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sat Apr 27 00:37:27 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9bb84cec1b5375c24e5fa9cf7700070d9d1b4184
https://github.com/llvm/llvm-project/commit/9bb84cec1b5375c24e5fa9cf7700070d9d1b4184
Author: Kazu Hirata <kazu at google.com>
Date: 2024-04-27 (Sat, 27 Apr 2024)
Changed paths:
M llvm/include/llvm/ADT/StringRef.h
M llvm/unittests/ADT/StringRefTest.cpp
Log Message:
-----------
[ADT] Add StringRef::{starts,ends}_with(char) (#90311)
This patch adds to StringRef the equivalent of
std::string_view::{starts,ends}_with(char) in C++20.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list