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
- public BumpVectorContext()
- public BumpVectorContext(clang::BumpVectorContext && Other)
- public BumpVectorContext(llvm::BumpPtrAllocator & A)
- public llvm::BumpPtrAllocator & getAllocator()
- public ~BumpVectorContext()
Methods
¶BumpVectorContext()
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)
BumpVectorContext(
clang::BumpVectorContext&& Other)
Declared at: clang/include/clang/Analysis/Support/BumpVector.h:40
Parameters
- clang::BumpVectorContext&& Other
¶BumpVectorContext(llvm::BumpPtrAllocator& A)
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& getAllocator()
llvm::BumpPtrAllocator& getAllocator()
Declared at: clang/include/clang/Analysis/Support/BumpVector.h:55
¶~BumpVectorContext()
~BumpVectorContext()
Declared at: clang/include/clang/Analysis/Support/BumpVector.h:50