summaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/StreamableMemoryObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/StreamableMemoryObject.h')
-rw-r--r--include/llvm/Support/StreamableMemoryObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/StreamableMemoryObject.h b/include/llvm/Support/StreamableMemoryObject.h
index 0259630..9c9e55c 100644
--- a/include/llvm/Support/StreamableMemoryObject.h
+++ b/include/llvm/Support/StreamableMemoryObject.h
@@ -116,7 +116,7 @@ public:
// the memory doesn't go away/get reallocated, but it's
// not currently necessary. Users that need the pointer don't stream.
assert(0 && "getPointer in streaming memory objects not allowed");
- return NULL;
+ return nullptr;
}
bool isValidAddress(uint64_t address) const override;
bool isObjectEnd(uint64_t address) const override;