clang  15.0.0git
Public Types | Public Member Functions | List of all members
clang::dataflow::StorageLocation Class Reference

Base class for elements of the local variable store and of the heap. More...

#include "clang/Analysis/FlowSensitive/StorageLocation.h"

Inheritance diagram for clang::dataflow::StorageLocation:
Inheritance graph
[legend]

Public Types

enum  Kind { Kind::Scalar, Kind::Aggregate }
 

Public Member Functions

 StorageLocation (Kind LocKind, QualType Type)
 
 StorageLocation (const StorageLocation &)=delete
 
StorageLocationoperator= (const StorageLocation &)=delete
 
virtual ~StorageLocation ()=default
 
Kind getKind () const
 
QualType getType () const
 

Detailed Description

Base class for elements of the local variable store and of the heap.

Each storage location holds a value. The mapping from storage locations to values is stored in the environment.

Definition at line 28 of file StorageLocation.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Scalar 
Aggregate 

Definition at line 30 of file StorageLocation.h.

Constructor & Destructor Documentation

◆ StorageLocation() [1/2]

clang::dataflow::StorageLocation::StorageLocation ( Kind  LocKind,
QualType  Type 
)
inline

Definition at line 32 of file StorageLocation.h.

◆ StorageLocation() [2/2]

clang::dataflow::StorageLocation::StorageLocation ( const StorageLocation )
delete

◆ ~StorageLocation()

virtual clang::dataflow::StorageLocation::~StorageLocation ( )
virtualdefault

Member Function Documentation

◆ getKind()

Kind clang::dataflow::StorageLocation::getKind ( ) const
inline

◆ getType()

QualType clang::dataflow::StorageLocation::getType ( ) const
inline

◆ operator=()

StorageLocation& clang::dataflow::StorageLocation::operator= ( const StorageLocation )
delete

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