clang 20.0.0git
Classes | Public Member Functions | List of all members
clang::threadSafety::til::MemRegionRef Class Reference

#include "clang/Analysis/Analyses/ThreadSafetyUtil.h"

Public Member Functions

 MemRegionRef ()=default
 
 MemRegionRef (llvm::BumpPtrAllocator *A)
 
void * allocate (size_t Sz)
 
template<typename T >
TallocateT ()
 
template<typename T >
TallocateT (size_t NumElems)
 

Detailed Description

Definition at line 38 of file ThreadSafetyUtil.h.

Constructor & Destructor Documentation

◆ MemRegionRef() [1/2]

clang::threadSafety::til::MemRegionRef::MemRegionRef ( )
default

◆ MemRegionRef() [2/2]

clang::threadSafety::til::MemRegionRef::MemRegionRef ( llvm::BumpPtrAllocator *  A)
inline

Definition at line 49 of file ThreadSafetyUtil.h.

Member Function Documentation

◆ allocate()

void * clang::threadSafety::til::MemRegionRef::allocate ( size_t  Sz)
inline

Definition at line 51 of file ThreadSafetyUtil.h.

◆ allocateT() [1/2]

template<typename T >
T * clang::threadSafety::til::MemRegionRef::allocateT ( )
inline

Definition at line 55 of file ThreadSafetyUtil.h.

References clang::T.

Referenced by clang::threadSafety::til::SimpleArray< T >::reserve().

◆ allocateT() [2/2]

template<typename T >
T * clang::threadSafety::til::MemRegionRef::allocateT ( size_t  NumElems)
inline

Definition at line 57 of file ThreadSafetyUtil.h.

References clang::T.


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