projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[C++] Use 'nullptr'.
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
ilist_node.h
diff --git
a/include/llvm/ADT/ilist_node.h
b/include/llvm/ADT/ilist_node.h
index 51c0328bfbd3fa2bd83ff391da715a2f96c9976d..85aa7a4b1f7fbaf1ad37aab09260e540f777a552 100644
(file)
--- a/
include/llvm/ADT/ilist_node.h
+++ b/
include/llvm/ADT/ilist_node.h
@@
-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;
}