diff options
-rw-r--r-- | llvm/include/llvm/IR/ConstantRange.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/ConstantRange.h b/llvm/include/llvm/IR/ConstantRange.h index fd7f96abb19..e200e9670ee 100644 --- 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: |