clang 22.0.0git
|
Base class for elements of the local variable store and of the heap. More...
#include "clang/Analysis/FlowSensitive/StorageLocation.h"
Public Types | |
enum class | Kind { Scalar , Record } |
Public Member Functions | |
StorageLocation (Kind LocKind, QualType Type) | |
StorageLocation (const StorageLocation &)=delete | |
StorageLocation & | operator= (const StorageLocation &)=delete |
virtual | ~StorageLocation ()=default |
Kind | getKind () const |
QualType | getType () const |
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 33 of file StorageLocation.h.
|
strong |
Enumerator | |
---|---|
Scalar | |
Record |
Definition at line 35 of file StorageLocation.h.
Definition at line 40 of file StorageLocation.h.
Referenced by clang::dataflow::RecordStorageLocation::addChild(), clang::dataflow::RecordStorageLocation::addSyntheticField(), clang::dataflow::RecordStorageLocation::classof(), clang::dataflow::ScalarStorageLocation::classof(), clang::dataflow::RecordStorageLocation::getChild(), clang::dataflow::RecordStorageLocation::getSyntheticField(), operator=(), clang::dataflow::RecordStorageLocation::RecordStorageLocation(), clang::dataflow::ScalarStorageLocation::ScalarStorageLocation(), clang::dataflow::RecordStorageLocation::setChild(), and StorageLocation().
|
delete |
References StorageLocation().
|
virtualdefault |
|
inline |
Definition at line 52 of file StorageLocation.h.
Referenced by clang::dataflow::RecordStorageLocation::classof(), and clang::dataflow::ScalarStorageLocation::classof().
|
inline |
Definition at line 54 of file StorageLocation.h.
Referenced by clang::dataflow::copyRecord(), clang::dataflow::RecordStorageLocation::getChild(), clang::dataflow::Environment::initializeFieldsWithValues(), clang::dataflow::joinLocToVal(), and clang::dataflow::recordsEqual().
|
delete |
References StorageLocation().