[llvm] r287596 - Remove LLVM_NODISCARD in one more place.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 21 15:17:16 PST 2016
Author: zturner
Date: Mon Nov 21 17:17:15 2016
New Revision: 287596
URL: http://llvm.org/viewvc/llvm-project?rev=287596&view=rev
Log:
Remove LLVM_NODISCARD in one more place.
Modified:
llvm/trunk/include/llvm/ADT/StringRef.h
Modified: llvm/trunk/include/llvm/ADT/StringRef.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/StringRef.h?rev=287596&r1=287595&r2=287596&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/StringRef.h (original)
+++ llvm/trunk/include/llvm/ADT/StringRef.h Mon Nov 21 17:17:15 2016
@@ -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;
/// @}
More information about the llvm-commits
mailing list