diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/ConstantRange.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/ConstantRange.h b/include/llvm/Support/ConstantRange.h index 607a94f..1187cfd 100644 --- a/include/llvm/Support/ConstantRange.h +++ b/include/llvm/Support/ConstantRange.h @@ -37,6 +37,8 @@ namespace llvm { +class ConstantInt; + /// ConstantRange - This class represents an range of values. /// class ConstantRange { @@ -52,6 +54,7 @@ public: /// Initialize a range to hold the single specified value. /// ConstantRange(const APInt &Value); + ConstantRange(const ConstantInt *Value); /// @brief Initialize a range of values explicitly. This will assert out if /// Lower==Upper and Lower != Min or Max value for its type. It will also |