llvm::FileOutputBuffer::commit

Flush the buffer to its file and deallocate it.

Synopsis

Declared in <llvm/Support/FileOutputBuffer.h>

virtual
Error
commit() = 0;

Description

If commit() is not called before this object's destructor is called, the file is deleted in the destructor.

Return Value

Success, or an error if the buffer could not be written.