From c2cd4e004c4b34d8be0333b3dfe80831661bf11d Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Mon, 21 Nov 2016 23:17:15 +0000 Subject: [PATCH] Remove LLVM_NODISCARD in one more place. llvm-svn: 287596 --- llvm/include/llvm/ADT/StringRef.h | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/include/llvm/ADT/StringRef.h b/llvm/include/llvm/ADT/StringRef.h index 0755d94..d8e0732 100644 --- a/llvm/include/llvm/ADT/StringRef.h +++ b/llvm/include/llvm/ADT/StringRef.h @@ -558,7 +558,6 @@ namespace llvm { /// /// APInt::fromString is superficially similar but assumes the /// string is well-formed in the given radix. - LLVM_NODISCARD bool getAsInteger(unsigned Radix, APInt &Result) const; /// @} -- 2.7.4