[C++] Use 'nullptr'.
[oota-llvm.git] / include / llvm / ADT / ilist_node.h
index 51c0328bfbd3fa2bd83ff391da715a2f96c9976d..85aa7a4b1f7fbaf1ad37aab09260e540f777a552 100644 (file)
@@ -71,7 +71,7 @@ public:
 
     // Check for sentinel.
     if (!Prev->getNext())
-      return 0;
+      return nullptr;
 
     return Prev;
   }
@@ -93,7 +93,7 @@ public:
 
     // Check for sentinel.
     if (!Next->getNext())
-      return 0;
+      return nullptr;
 
     return Next;
   }