diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-04-25 04:24:47 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-04-25 04:24:47 +0000 |
commit | e6cb63e471c56fa7e90916ec81da76a2604e388f (patch) | |
tree | d28cb6c8432d2e14d395d098272faa726a0cd01b /llvm/tools/llvm-diff/DiffLog.cpp | |
parent | 409ac186bb7724c93d76db93b17ad6b1fdeea234 (diff) | |
download | bcm5719-llvm-e6cb63e471c56fa7e90916ec81da76a2604e388f.tar.gz bcm5719-llvm-e6cb63e471c56fa7e90916ec81da76a2604e388f.zip |
[C++] Use 'nullptr'. Tools edition.
llvm-svn: 207176
Diffstat (limited to 'llvm/tools/llvm-diff/DiffLog.cpp')
-rw-r--r-- | llvm/tools/llvm-diff/DiffLog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-diff/DiffLog.cpp b/llvm/tools/llvm-diff/DiffLog.cpp index caf779bb403..24a1b08d545 100644 --- a/llvm/tools/llvm-diff/DiffLog.cpp +++ b/llvm/tools/llvm-diff/DiffLog.cpp @@ -35,11 +35,11 @@ void DiffLogBuilder::addMatch(Instruction *L, Instruction *R) { } void DiffLogBuilder::addLeft(Instruction *L) { // HACK: VS 2010 has a bug in the stdlib that requires this. - Diff.push_back(DiffRecord(L, DiffRecord::second_type(0))); + Diff.push_back(DiffRecord(L, DiffRecord::second_type(nullptr))); } void DiffLogBuilder::addRight(Instruction *R) { // HACK: VS 2010 has a bug in the stdlib that requires this. - Diff.push_back(DiffRecord(DiffRecord::first_type(0), R)); + Diff.push_back(DiffRecord(DiffRecord::first_type(nullptr), R)); } unsigned DiffLogBuilder::getNumLines() const { return Diff.size(); } |