diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-04-07 04:17:22 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-04-07 04:17:22 +0000 |
commit | c10719f55d3babe47ce754ad4e4964c7cd90d6e8 (patch) | |
tree | 28574fe7c646e03e6660387f3595f098d75fcd3f /llvm/lib/Support/IntervalMap.cpp | |
parent | 093edf8c7f4d44979376892303d101f02924c68f (diff) | |
download | bcm5719-llvm-c10719f55d3babe47ce754ad4e4964c7cd90d6e8.tar.gz bcm5719-llvm-c10719f55d3babe47ce754ad4e4964c7cd90d6e8.zip |
[C++11] Make use of 'nullptr' in the Support library.
llvm-svn: 205697
Diffstat (limited to 'llvm/lib/Support/IntervalMap.cpp')
-rw-r--r-- | llvm/lib/Support/IntervalMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |