aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/DataFormatters/FormatManager.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-09-23 01:59:04 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-09-23 01:59:04 +0000
commit2aacc0eccad6e0fee98ad28d9c885791926cf004 (patch)
tree22f89f23ae978ecfdb553c424287103c5f2eda18 /lldb/source/DataFormatters/FormatManager.cpp
parenta89d178a4f15b73cc17fdd84c294946f1fa81072 (diff)
downloadllvm-2aacc0eccad6e0fee98ad28d9c885791926cf004.zip
llvm-2aacc0eccad6e0fee98ad28d9c885791926cf004.tar.gz
llvm-2aacc0eccad6e0fee98ad28d9c885791926cf004.tar.bz2
[SCEV] Introduce ScalarEvolution::getOne and getZero.
Summary: It is fairly common to call SE->getConstant(Ty, 0) or SE->getConstant(Ty, 1); this change makes such uses a little bit briefer. I've refactored the call sites I could find easily to use getZero / getOne. Reviewers: hfinkel, majnemer, reames Subscribers: sanjoy, llvm-commits Differential Revision: http://reviews.llvm.org/D12947 llvm-svn: 248362
Diffstat (limited to 'lldb/source/DataFormatters/FormatManager.cpp')
0 files changed, 0 insertions, 0 deletions