summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Demangle/MicrosoftDemangle.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-04-21 15:22:54 +0000
committerNikita Popov <nikita.ppv@gmail.com>2019-04-21 15:22:54 +0000
commitdbc3fbafe7cbf10bac30da4d4b6eb6082fed3daa (patch)
tree5ca3301d2c529849b90e76efc5bda9f91583ab70 /llvm/lib/Demangle/MicrosoftDemangle.cpp
parent7fa3a0eec9792c5da235ade683013a742871b8c5 (diff)
downloadbcm5719-llvm-dbc3fbafe7cbf10bac30da4d4b6eb6082fed3daa.tar.gz
bcm5719-llvm-dbc3fbafe7cbf10bac30da4d4b6eb6082fed3daa.zip
[ConstantRange] Add getNonEmpty() constructor
ConstantRanges have an annoying special case: If upper and lower are the same, it can be either an empty or a full set. When constructing constant ranges nearly always a full set is intended, but this still requires an explicit check in many places. This revision adds a getNonEmpty() constructor that disambiguates this case: If upper and lower are the same, a full set is created. Differential Revision: https://reviews.llvm.org/D60947 llvm-svn: 358854
Diffstat (limited to 'llvm/lib/Demangle/MicrosoftDemangle.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud