diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-24 09:34:40 +0000 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-24 09:34:40 +0000 |
| commit | 977934f00f7cac6476650db75f6497495908b486 (patch) | |
| tree | 92c865ad86f73d4314bf45c53b4ae5dcf3a2ff88 /llvm/test/FileCheck | |
| parent | 54ce1b18c5f77002a1f0bc1fefa076109df8b847 (diff) | |
| download | bcm5719-llvm-977934f00f7cac6476650db75f6497495908b486.tar.gz bcm5719-llvm-977934f00f7cac6476650db75f6497495908b486.zip | |
[ConstantRange] Add getFull() + getEmpty() named constructors; NFC
This adds ConstantRange::getFull(BitWidth) and
ConstantRange::getEmpty(BitWidth) named constructors as more readable
alternatives to the current ConstantRange(BitWidth, /* full */ false)
and similar. Additionally private getFull() and getEmpty() member
functions are added which return a full/empty range with the same bit
width -- these are commonly needed inside ConstantRange.cpp.
The IsFullSet argument in the ConstantRange(BitWidth, IsFullSet)
constructor is now mandatory for the few usages that still make use of it.
Differential Revision: https://reviews.llvm.org/D59716
llvm-svn: 356852
Diffstat (limited to 'llvm/test/FileCheck')
0 files changed, 0 insertions, 0 deletions

