mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
[C++] Use 'nullptr'. Tools edition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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(); }
|
||||
|
Reference in New Issue
Block a user