LLVM: llvm::sys::OwningMemoryBlock Class Reference (original) (raw)
Owning version of MemoryBlock. More...
#include "[llvm/Support/Memory.h](Memory%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| OwningMemoryBlock ()=default | |
| OwningMemoryBlock (MemoryBlock M) | |
| OwningMemoryBlock (OwningMemoryBlock &&Other) | |
| OwningMemoryBlock & | operator= (OwningMemoryBlock &&Other) |
| ~OwningMemoryBlock () | |
| void * | base () const |
| size_t | allocatedSize () const |
| The size as it was allocated. | |
| MemoryBlock | getMemoryBlock () const |
| std::error_code | release () |
Owning version of MemoryBlock.
Definition at line 139 of file Memory.h.
| llvm::sys::OwningMemoryBlock::OwningMemoryBlock ( ) | default |
|---|
◆ OwningMemoryBlock() [2/3]
| llvm::sys::OwningMemoryBlock::OwningMemoryBlock ( MemoryBlock M) | inlineexplicit |
|---|
◆ OwningMemoryBlock() [3/3]
◆ ~OwningMemoryBlock()
| llvm::sys::OwningMemoryBlock::~OwningMemoryBlock ( ) | inline |
|---|
◆ allocatedSize()
| size_t llvm::sys::OwningMemoryBlock::allocatedSize ( ) const | inline |
|---|
The size as it was allocated.
This is always greater or equal to the size that was originally requested.
Definition at line 159 of file Memory.h.
◆ base()
| void * llvm::sys::OwningMemoryBlock::base ( ) const | inline |
|---|
◆ getMemoryBlock()
| MemoryBlock llvm::sys::OwningMemoryBlock::getMemoryBlock ( ) const | inline |
|---|
◆ operator=()
◆ release()
| std::error_code llvm::sys::OwningMemoryBlock::release ( ) | inline |
|---|
The documentation for this class was generated from the following file:
- include/llvm/Support/Memory.h