From c10719f55d3babe47ce754ad4e4964c7cd90d6e8 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 7 Apr 2014 04:17:22 +0000 Subject: [C++11] Make use of 'nullptr' in the Support library. llvm-svn: 205697 --- llvm/lib/Support/IntervalMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/IntervalMap.cpp') diff --git a/llvm/lib/Support/IntervalMap.cpp b/llvm/lib/Support/IntervalMap.cpp index 4dfcc404ca4..e11a7f2eb84 100644 --- a/llvm/lib/Support/IntervalMap.cpp +++ b/llvm/lib/Support/IntervalMap.cpp @@ -58,7 +58,7 @@ void Path::moveLeft(unsigned Level) { } } else if (height() < Level) // end() may have created a height=0 path. - path.resize(Level + 1, Entry(0, 0, 0)); + path.resize(Level + 1, Entry(nullptr, 0, 0)); // NR is the subtree containing our left sibling. --path[l].offset; -- cgit v1.2.3