clang  3.9.0
Public Member Functions | List of all members
clang::BumpVectorContext Class Reference

#include <BumpVector.h>

Public Member Functions

 BumpVectorContext ()
 Construct a new BumpVectorContext that creates a new BumpPtrAllocator and destroys it when the BumpVectorContext object is destroyed. More...
 
 BumpVectorContext (BumpVectorContext &&Other)
 
 BumpVectorContext (llvm::BumpPtrAllocator &A)
 Construct a new BumpVectorContext that reuses an existing BumpPtrAllocator. More...
 
 ~BumpVectorContext ()
 
llvm::BumpPtrAllocator & getAllocator ()
 

Detailed Description

Definition at line 32 of file BumpVector.h.

Constructor & Destructor Documentation

clang::BumpVectorContext::BumpVectorContext ( )
inline

Construct a new BumpVectorContext that creates a new BumpPtrAllocator and destroys it when the BumpVectorContext object is destroyed.

Definition at line 37 of file BumpVector.h.

clang::BumpVectorContext::BumpVectorContext ( BumpVectorContext &&  Other)
inline

Definition at line 39 of file BumpVector.h.

clang::BumpVectorContext::BumpVectorContext ( llvm::BumpPtrAllocator &  A)
inline

Construct a new BumpVectorContext that reuses an existing BumpPtrAllocator.

This BumpPtrAllocator is not destroyed when the BumpVectorContext object is destroyed.

Definition at line 47 of file BumpVector.h.

clang::BumpVectorContext::~BumpVectorContext ( )
inline

Definition at line 49 of file BumpVector.h.

Member Function Documentation

llvm::BumpPtrAllocator& clang::BumpVectorContext::getAllocator ( )
inline

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