class VarRegion
Declaration
class VarRegion : public DeclRegion { /* full declaration omitted */ };
Description
TypedValueRegion - An abstract class representing regions having a typed value.
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:928
Inherits from: DeclRegion
Member Variables
Inherited from SubRegion:
Method Overview
- protected VarRegion(const clang::ento::MemRegion * sReg, clang::ento::MemRegion::Kind k)
- public static bool classof(const clang::ento::MemRegion * R)
- public const clang::VarDecl * getDecl() const
- public const clang::StackFrameContext * getStackFrame() const
- public clang::QualType getValueType() const
Inherited from DeclRegion:
Inherited from TypedValueRegion:
Inherited from TypedRegion:
Inherited from SubRegion:
Inherited from MemRegion:
- public Profile
- public StripCasts
- public canPrintPretty
- public canPrintPrettyAsExpr
- public castAs
- public dump
- public dumpToStream
- public getAs
- public getAsOffset
- public getBaseRegion
- public getContext
- public getDescriptiveName
- public getKind
- public getMemRegionManager
- public getMemorySpace
- public getMostDerivedObjectRegion
- public getString
- public getSymbolicBase
- public hasGlobalsOrParametersStorage
- public hasStackNonParametersStorage
- public hasStackParametersStorage
- public hasStackStorage
- public isBoundable
- public isSubRegionOf
- public printPretty
- public printPrettyAsExpr
- public sourceRange
Inherited from FoldingSetBase::Node:
Methods
¶VarRegion(const clang::ento::MemRegion* sReg,
clang::ento::MemRegion::Kind k)
VarRegion(const clang::ento::MemRegion* sReg,
clang::ento::MemRegion::Kind k)
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:933
Parameters
- const clang::ento::MemRegion* sReg
- clang::ento::MemRegion::Kind k
¶static bool classof(
const clang::ento::MemRegion* R)
static bool classof(
const clang::ento::MemRegion* R)
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:954
Parameters
- const clang::ento::MemRegion* R
¶const clang::VarDecl* getDecl() const
const clang::VarDecl* getDecl() const
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:944
¶const clang::StackFrameContext* getStackFrame()
const
const clang::StackFrameContext* getStackFrame()
const
Description
It might return null.
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:947
¶clang::QualType getValueType() const
clang::QualType getValueType() const
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:949