This should be everything.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287594
91177308-0d34-0410-b5e6-
96231b3b80d8
/// Returns true if this StringRef has the given prefix and removes that
/// prefix.
- LLVM_NODISCARD
LLVM_ATTRIBUTE_ALWAYS_INLINE
bool consume_front(StringRef Prefix) {
if (!startswith(Prefix))
/// Returns true if this StringRef has the given suffix and removes that
/// suffix.
- LLVM_NODISCARD
LLVM_ATTRIBUTE_ALWAYS_INLINE
bool consume_back(StringRef Suffix) {
if (!endswith(Suffix))