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/SmallPtrSet.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/SmallPtrSet.cpp')
-rw-r--r-- | llvm/lib/Support/SmallPtrSet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/SmallPtrSet.cpp b/llvm/lib/Support/SmallPtrSet.cpp index 844e41696f9..a80e095ec35 100644 --- a/llvm/lib/Support/SmallPtrSet.cpp +++ b/llvm/lib/Support/SmallPtrSet.cpp @@ -103,7 +103,7 @@ const void * const *SmallPtrSetImplBase::FindBucketFor(const void *Ptr) const { unsigned ArraySize = CurArraySize; unsigned ProbeAmt = 1; const void *const *Array = CurArray; - const void *const *Tombstone = 0; + const void *const *Tombstone = nullptr; while (1) { // Found Ptr's bucket? if (Array[Bucket] == Ptr) |