Add a LLVM_NOEXCEPT to Compiler.h.
[oota-llvm.git] / include / llvm / Support / StreamableMemoryObject.h
index 0259630c8a2028d9ffc7ec540d9623dca1153a4f..9c9e55c0a75a582fa6562c981c677139020727b2 100644 (file)
@@ -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;