LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::MemoryBufferRef Class Reference

#include "llvm/Support/MemoryBuffer.h"

Public Member Functions

 MemoryBufferRef ()=default
 
 MemoryBufferRef (MemoryBuffer &Buffer)
 
 MemoryBufferRef (StringRef Buffer, StringRef Identifier)
 
StringRef getBuffer () const
 
StringRef getBufferIdentifier () const
 
const chargetBufferStart () const
 
const chargetBufferEnd () const
 
size_t getBufferSize () const
 

Detailed Description

Definition at line 159 of file MemoryBuffer.h.

Constructor & Destructor Documentation

◆ MemoryBufferRef() [1/3]

llvm::MemoryBufferRef::MemoryBufferRef ( )
default

◆ MemoryBufferRef() [2/3]

llvm::MemoryBufferRef::MemoryBufferRef ( MemoryBuffer Buffer)
inline

Definition at line 165 of file MemoryBuffer.h.

◆ MemoryBufferRef() [3/3]

llvm::MemoryBufferRef::MemoryBufferRef ( StringRef  Buffer,
StringRef  Identifier 
)
inline

Definition at line 167 of file MemoryBuffer.h.

Member Function Documentation

◆ getBuffer()

StringRef llvm::MemoryBufferRef::getBuffer ( ) const
inline

◆ getBufferEnd()

const char* llvm::MemoryBufferRef::getBufferEnd ( ) const
inline

◆ getBufferIdentifier()

StringRef llvm::MemoryBufferRef::getBufferIdentifier ( ) const
inline

◆ getBufferSize()

size_t llvm::MemoryBufferRef::getBufferSize ( ) const
inline

◆ getBufferStart()

const char* llvm::MemoryBufferRef::getBufferStart ( ) const
inline

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