diff options
Diffstat (limited to 'include/llvm/Support/Registry.h')
-rw-r--r-- | include/llvm/Support/Registry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/Registry.h b/include/llvm/Support/Registry.h index 073becd586..3da2d7ca7e 100644 --- a/include/llvm/Support/Registry.h +++ b/include/llvm/Support/Registry.h @@ -88,7 +88,7 @@ namespace llvm { const entry& Val; public: - node(const entry& V) : Next(0), Val(V) { + node(const entry& V) : Next(nullptr), Val(V) { if (Tail) Tail->Next = this; else @@ -116,7 +116,7 @@ namespace llvm { }; static iterator begin() { return iterator(Head); } - static iterator end() { return iterator(0); } + static iterator end() { return iterator(nullptr); } /// Abstract base class for registry listeners, which are informed when new |