LLVM  4.0.0
Public Member Functions | List of all members
llvm::sys::OwningMemoryBlock Class Reference

Owning version of MemoryBlock. More...

#include <Memory.h>

Public Member Functions

 OwningMemoryBlock ()=default
 
 OwningMemoryBlock (MemoryBlock M)
 
 OwningMemoryBlock (OwningMemoryBlock &&Other)
 
OwningMemoryBlockoperator= (OwningMemoryBlock &&Other)
 
 ~OwningMemoryBlock ()
 
void * base () const
 
size_t size () const
 
MemoryBlock getMemoryBlock () const
 

Detailed Description

Owning version of MemoryBlock.

Definition at line 160 of file Memory.h.

Constructor & Destructor Documentation

llvm::sys::OwningMemoryBlock::OwningMemoryBlock ( )
default
llvm::sys::OwningMemoryBlock::OwningMemoryBlock ( MemoryBlock  M)
inlineexplicit

Definition at line 163 of file Memory.h.

llvm::sys::OwningMemoryBlock::OwningMemoryBlock ( OwningMemoryBlock &&  Other)
inline

Definition at line 164 of file Memory.h.

References Other.

llvm::sys::OwningMemoryBlock::~OwningMemoryBlock ( )
inline

Definition at line 173 of file Memory.h.

References llvm::sys::Memory::releaseMappedMemory().

Member Function Documentation

void* llvm::sys::OwningMemoryBlock::base ( ) const
inline
MemoryBlock llvm::sys::OwningMemoryBlock::getMemoryBlock ( ) const
inline
OwningMemoryBlock& llvm::sys::OwningMemoryBlock::operator= ( OwningMemoryBlock &&  Other)
inline

Definition at line 168 of file Memory.h.

References Other.

size_t llvm::sys::OwningMemoryBlock::size ( ) const
inline

Definition at line 177 of file Memory.h.

References llvm::sys::MemoryBlock::size().


The documentation for this class was generated from the following file: