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

#include "clang/Analysis/Support/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 33 of file BumpVector.h.

Constructor & Destructor Documentation

◆ BumpVectorContext() [1/3]

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 39 of file BumpVector.h.

◆ BumpVectorContext() [2/3]

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

Definition at line 41 of file BumpVector.h.

◆ BumpVectorContext() [3/3]

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 49 of file BumpVector.h.

◆ ~BumpVectorContext()

clang::BumpVectorContext::~BumpVectorContext ( )
inline

Definition at line 51 of file BumpVector.h.

Member Function Documentation

◆ getAllocator()

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

Definition at line 56 of file BumpVector.h.

Referenced by clang::ento::ExplodedGraph::getAllocator().


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