clang 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::dataflow::ScalarStorageLocation Class Referencefinal

A storage location that is not subdivided further for the purposes of abstract interpretation. More...

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

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

Public Member Functions

 ScalarStorageLocation (QualType Type)
 
- Public Member Functions inherited from clang::dataflow::StorageLocation
 StorageLocation (Kind LocKind, QualType Type)
 
 StorageLocation (const StorageLocation &)=delete
 
StorageLocationoperator= (const StorageLocation &)=delete
 
virtual ~StorageLocation ()=default
 
Kind getKind () const
 
QualType getType () const
 

Static Public Member Functions

static bool classof (const StorageLocation *Loc)
 

Additional Inherited Members

- Public Types inherited from clang::dataflow::StorageLocation
enum class  Kind { Scalar , Record }
 

Detailed Description

A storage location that is not subdivided further for the purposes of abstract interpretation.

For example: int, int*, int&.

Definition at line 62 of file StorageLocation.h.

Constructor & Destructor Documentation

◆ ScalarStorageLocation()

clang::dataflow::ScalarStorageLocation::ScalarStorageLocation ( QualType  Type)
inlineexplicit

Definition at line 64 of file StorageLocation.h.

Member Function Documentation

◆ classof()

static bool clang::dataflow::ScalarStorageLocation::classof ( const StorageLocation Loc)
inlinestatic

Definition at line 67 of file StorageLocation.h.

References Loc, and clang::dataflow::StorageLocation::Scalar.


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