diff options
Diffstat (limited to 'include/llvm/Object/Binary.h')
-rw-r--r-- | include/llvm/Object/Binary.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Object/Binary.h b/include/llvm/Object/Binary.h index b10e40a..8ac84e7 100644 --- a/include/llvm/Object/Binary.h +++ b/include/llvm/Object/Binary.h @@ -128,7 +128,8 @@ public: /// @param Source The data to create the Binary from. Ownership is transferred /// to the Binary if successful. If an error is returned, /// Source is destroyed by createBinary before returning. -ErrorOr<Binary *> createBinary(MemoryBuffer *Source, LLVMContext *Context = 0); +ErrorOr<Binary *> createBinary(MemoryBuffer *Source, + LLVMContext *Context = nullptr); ErrorOr<Binary *> createBinary(StringRef Path); } |