projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5974dad
)
[ConstantRange] Add LLVM_NODISCARD to ConstantRange since a large number of its metho...
author
Craig Topper
<craig.topper@gmail.com>
Thu, 4 May 2017 21:29:50 +0000
(21:29 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Thu, 4 May 2017 21:29:50 +0000
(21:29 +0000)
llvm-svn: 302194
llvm/include/llvm/IR/ConstantRange.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/IR/ConstantRange.h
b/llvm/include/llvm/IR/ConstantRange.h
index
fd7f96a
..
e200e96
100644
(file)
--- a/
llvm/include/llvm/IR/ConstantRange.h
+++ b/
llvm/include/llvm/IR/ConstantRange.h
@@
-41,7
+41,7
@@
namespace llvm {
class MDNode;
/// This class represents a range of values.
-class ConstantRange {
+class
LLVM_NODISCARD
ConstantRange {
APInt Lower, Upper;
public: