clang API Documentation

Public Member Functions
clang::BumpVectorContext Class Reference

#include <BumpVector.h>

List of all members.

Public Member Functions

 BumpVectorContext ()
 BumpVectorContext (llvm::BumpPtrAllocator &A)
 ~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 ( 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 42 of file BumpVector.h.

clang::BumpVectorContext::~BumpVectorContext ( ) [inline]

Definition at line 44 of file BumpVector.h.


Member Function Documentation

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

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