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:

protected Mgr

Method Overview

Inherited from GlobalsSpaceRegion:

Inherited from MemSpaceRegion:

Inherited from MemRegion:

Inherited from FoldingSetBase::Node:

Methods

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()

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:291

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