clang 22.0.0git
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.

Referenced by BumpVectorContext(), BumpVectorContext(), operator=(), and operator=().

◆ BumpVectorContext() [2/4]

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

Definition at line 40 of file BumpVector.h.

References BumpVectorContext(), and clang::Other.

◆ BumpVectorContext() [3/4]

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

References BumpVectorContext().

◆ 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

Definition at line 64 of file BumpVector.h.

◆ operator=() [1/2]

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

References BumpVectorContext().

◆ operator=() [2/2]

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

References BumpVectorContext().


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