]> granicus.if.org Git - llvm/commitdiff
Remove LLVM_NODISCARD in one more place.
authorZachary Turner <zturner@google.com>
Mon, 21 Nov 2016 23:17:15 +0000 (23:17 +0000)
committerZachary Turner <zturner@google.com>
Mon, 21 Nov 2016 23:17:15 +0000 (23:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287596 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/StringRef.h

index 0755d94f639a5dcec9a45e76b8b6dc2476f54981..d8e0732719ff2faef41ce3d92939b9b950c90a3c 100644 (file)
@@ -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;
 
     /// @}