From: Zachary Turner Date: Mon, 21 Nov 2016 23:17:15 +0000 (+0000) Subject: Remove LLVM_NODISCARD in one more place. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7625374502283c56bf30b57a5e4ad44ad9aa2510;p=llvm Remove LLVM_NODISCARD in one more place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287596 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/StringRef.h b/include/llvm/ADT/StringRef.h index 0755d94f639..d8e0732719f 100644 --- a/include/llvm/ADT/StringRef.h +++ b/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; /// @}