class NonStaticGlobalSpaceRegion
Declaration
class NonStaticGlobalSpaceRegion : public GlobalsSpaceRegion { /* full declaration omitted */ };
Description
The region for all the non-static global variables. This class is further split into subclasses for efficient implementation of invalidating a set of related global values as is done in RegionStoreManager::invalidateRegions (instead of finding all the dependent globals, we invalidate the whole parent region).
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:290
Inherits from: GlobalsSpaceRegion
Member Variables
Inherited from MemSpaceRegion:
Method Overview
- protected NonStaticGlobalSpaceRegion(clang::ento::MemRegionManager & mgr, clang::ento::MemRegion::Kind k)
- private void anchor()
- public static bool classof(const clang::ento::MemRegion * R)
Inherited from GlobalsSpaceRegion:
Inherited from MemSpaceRegion:
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
¶NonStaticGlobalSpaceRegion(
clang::ento::MemRegionManager& mgr,
clang::ento::MemRegion::Kind k)
NonStaticGlobalSpaceRegion(
clang::ento::MemRegionManager& mgr,
clang::ento::MemRegion::Kind k)
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:294
Parameters
- clang::ento::MemRegionManager& mgr
- clang::ento::MemRegion::Kind k
¶void anchor()
void anchor()
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:291
¶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:300
Parameters
- const clang::ento::MemRegion* R