clang 19.0.0git
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.
 
 BumpVectorContext (BumpVectorContext &&Other)
 
BumpVectorContextoperator= (BumpVectorContext &&)=delete
 
 BumpVectorContext (const BumpVectorContext &)=delete
 
BumpVectorContextoperator= (const BumpVectorContext &)=delete
 
 BumpVectorContext (llvm::BumpPtrAllocator &A)
 Construct a new BumpVectorContext that reuses an existing BumpPtrAllocator.
 
 ~BumpVectorContext ()
 
llvm::BumpPtrAllocator & getAllocator ()
 

Detailed Description

Definition at line 32 of file BumpVector.h.

Constructor & Destructor Documentation

◆ BumpVectorContext() [1/4]

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

◆ BumpVectorContext() [2/4]

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

Definition at line 40 of file BumpVector.h.

References clang::Other.

◆ BumpVectorContext() [3/4]

clang::BumpVectorContext::BumpVectorContext ( const BumpVectorContext )
delete

◆ BumpVectorContext() [4/4]

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

◆ ~BumpVectorContext()

clang::BumpVectorContext::~BumpVectorContext ( )
inline

Definition at line 59 of file BumpVector.h.

Member Function Documentation

◆ getAllocator()

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

◆ operator=() [1/2]

BumpVectorContext & clang::BumpVectorContext::operator= ( BumpVectorContext &&  )
delete

◆ operator=() [2/2]

BumpVectorContext & clang::BumpVectorContext::operator= ( const BumpVectorContext )
delete

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