class BumpVectorContext

Declaration

class BumpVectorContext { /* full declaration omitted */ };

Declared at: clang/include/clang/Analysis/Support/BumpVector.h:32

Member Variables

private llvm::PointerIntPair<llvm::BumpPtrAllocator*, 1> Alloc

Method Overview

Methods

BumpVectorContext()

Description

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

Declared at: clang/include/clang/Analysis/Support/BumpVector.h:38

BumpVectorContext(
    clang::BumpVectorContext&& Other)

Declared at: clang/include/clang/Analysis/Support/BumpVector.h:40

Parameters

clang::BumpVectorContext&& Other

BumpVectorContext(llvm::BumpPtrAllocator& A)

Description

Construct a new BumpVectorContext that reuses an existing BumpPtrAllocator. This BumpPtrAllocator is not destroyed when the BumpVectorContext object is destroyed.

Declared at: clang/include/clang/Analysis/Support/BumpVector.h:48

Parameters

llvm::BumpPtrAllocator& A

llvm::BumpPtrAllocator& getAllocator()

Declared at: clang/include/clang/Analysis/Support/BumpVector.h:55

~BumpVectorContext()

Declared at: clang/include/clang/Analysis/Support/BumpVector.h:50