class GlobalImmutableSpaceRegion

Declaration

class GlobalImmutableSpaceRegion : public NonStaticGlobalSpaceRegion { /* full declaration omitted */ };

Description

The region containing globals which are considered not to be modified or point to data which could be modified as a result of a function call (system or internal). Ex: Const global scalars would be modeled as part of this region. This region also includes most system globals since they have low chance of being modified.

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

Inherits from: NonStaticGlobalSpaceRegion

Member Variables

Inherited from MemSpaceRegion:

protected Mgr

Method Overview

Inherited from NonStaticGlobalSpaceRegion:

Inherited from GlobalsSpaceRegion:

Inherited from MemSpaceRegion:

Inherited from MemRegion:

Inherited from FoldingSetBase::Node:

Methods

GlobalImmutableSpaceRegion(
    clang::ento::MemRegionManager& mgr)

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

Parameters

clang::ento::MemRegionManager& mgr

static bool classof(
    const clang::ento::MemRegion* R)

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

Parameters

const clang::ento::MemRegion* R

void dumpToStream(llvm::raw_ostream& os) const

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

Parameters

llvm::raw_ostream& os