class NonParamVarRegion

Declaration

class NonParamVarRegion : public VarRegion { /* full declaration omitted */ };

Description

TypedValueRegion - An abstract class representing regions having a typed value.

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

Inherits from: VarRegion

Member Variables

private const clang::VarDecl* VD

Inherited from SubRegion:

protected superRegion

Method Overview

  • private NonParamVarRegion(const clang::VarDecl * vd, const clang::ento::MemRegion * sReg)
  • public void Profile(llvm::FoldingSetNodeID & ID) const
  • private static void ProfileRegion(llvm::FoldingSetNodeID & ID, const clang::VarDecl * VD, const clang::ento::MemRegion * superRegion)
  • public bool canPrintPrettyAsExpr() const
  • public static bool classof(const clang::ento::MemRegion * R)
  • public void dumpToStream(llvm::raw_ostream & os) const
  • public const clang::VarDecl * getDecl() const
  • public clang::QualType getValueType() const
  • public void printPrettyAsExpr(llvm::raw_ostream & os) const

Inherited from VarRegion:

Inherited from DeclRegion:

Inherited from TypedValueRegion:

Inherited from TypedRegion:

Inherited from SubRegion:

Inherited from MemRegion:

Inherited from FoldingSetBase::Node:

Methods

NonParamVarRegion(
    const clang::VarDecl* vd,
    const clang::ento::MemRegion* sReg)

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

Parameters

const clang::VarDecl* vd
const clang::ento::MemRegion* sReg

void Profile(llvm::FoldingSetNodeID& ID) const

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

Parameters

llvm::FoldingSetNodeID& ID

static void ProfileRegion(
    llvm::FoldingSetNodeID& ID,
    const clang::VarDecl* VD,
    const clang::ento::MemRegion* superRegion)

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

Parameters

llvm::FoldingSetNodeID& ID
const clang::VarDecl* VD
const clang::ento::MemRegion* superRegion

bool canPrintPrettyAsExpr() const

Description

Returns true if this region's textual representation can be used as part of a larger expression.

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

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

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

Parameters

const clang::ento::MemRegion* R

void dumpToStream(llvm::raw_ostream& os) const

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

Parameters

llvm::raw_ostream& os

const clang::VarDecl* getDecl() const

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

clang::QualType getValueType() const

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

void printPrettyAsExpr(
    llvm::raw_ostream& os) const

Description

Print the region as expression. When this region represents a subexpression, the method is for printing an expression containing it.

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

Parameters

llvm::raw_ostream& os