Remove LLVM_NODISCARD from two more StringRef members.

This should be everything.

llvm-svn: 287594
This commit is contained in:
Zachary Turner 2016-11-21 23:02:28 +00:00
parent b30d2aca58
commit d8a29b6795
1 changed files with 0 additions and 2 deletions

View File

@ -667,7 +667,6 @@ namespace llvm {
/// 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))
@ -679,7 +678,6 @@ namespace llvm {
/// 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))