clang  15.0.0git
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
clang::DynamicAllocLValue Class Reference

Symbolic representation of a dynamic allocation. More...

#include "clang/AST/APValue.h"

Collaboration diagram for clang::DynamicAllocLValue:
Collaboration graph
[legend]

Public Member Functions

 DynamicAllocLValue ()
 
 DynamicAllocLValue (unsigned Index)
 
unsigned getIndex ()
 
 operator bool () const
 
void * getOpaqueValue ()
 

Static Public Member Functions

static DynamicAllocLValue getFromOpaqueValue (void *Value)
 
static unsigned getMaxIndex ()
 

Static Public Attributes

static constexpr int NumLowBitsAvailable = 3
 

Detailed Description

Symbolic representation of a dynamic allocation.

Definition at line 65 of file APValue.h.

Constructor & Destructor Documentation

◆ DynamicAllocLValue() [1/2]

clang::DynamicAllocLValue::DynamicAllocLValue ( )
inline

Definition at line 69 of file APValue.h.

◆ DynamicAllocLValue() [2/2]

clang::DynamicAllocLValue::DynamicAllocLValue ( unsigned  Index)
inlineexplicit

Definition at line 70 of file APValue.h.

Member Function Documentation

◆ getFromOpaqueValue()

static DynamicAllocLValue clang::DynamicAllocLValue::getFromOpaqueValue ( void *  Value)
inlinestatic

◆ getIndex()

unsigned clang::DynamicAllocLValue::getIndex ( )
inline

Definition at line 71 of file APValue.h.

◆ getMaxIndex()

static unsigned clang::DynamicAllocLValue::getMaxIndex ( )
inlinestatic

Definition at line 85 of file APValue.h.

References max(), and NumLowBitsAvailable.

◆ getOpaqueValue()

void* clang::DynamicAllocLValue::getOpaqueValue ( )
inline

Definition at line 75 of file APValue.h.

References NumLowBitsAvailable.

◆ operator bool()

clang::DynamicAllocLValue::operator bool ( ) const
inlineexplicit

Definition at line 73 of file APValue.h.

Member Data Documentation

◆ NumLowBitsAvailable

constexpr int clang::DynamicAllocLValue::NumLowBitsAvailable = 3
staticconstexpr

Definition at line 89 of file APValue.h.

Referenced by getFromOpaqueValue(), getMaxIndex(), and getOpaqueValue().


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