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:

protected superRegion

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:

Inherited from FoldingSetBase::Node:

Methods

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)

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

Parameters

const clang::ento::MemRegion* R

const clang::VarDecl* getDecl() const

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

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

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