class ObjCIvarRegion

Declaration

class ObjCIvarRegion : 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:1124

Inherits from: DeclRegion

Member Variables

private const clang::ObjCIvarDecl* IVD

Inherited from SubRegion:

protected superRegion

Method Overview

  • private ObjCIvarRegion(const clang::ObjCIvarDecl * ivd, const clang::ento::SubRegion * sReg)
  • public void Profile(llvm::FoldingSetNodeID & ID) const
  • private static void ProfileRegion(llvm::FoldingSetNodeID & ID, const clang::ObjCIvarDecl * ivd, 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::ObjCIvarDecl * getDecl() const
  • public clang::QualType getValueType() const
  • public void printPrettyAsExpr(llvm::raw_ostream & os) const

Inherited from DeclRegion:

Inherited from TypedValueRegion:

Inherited from TypedRegion:

Inherited from SubRegion:

Inherited from MemRegion:

Inherited from FoldingSetBase::Node:

Methods

ObjCIvarRegion(const clang::ObjCIvarDecl* ivd,
               const clang::ento::SubRegion* sReg)

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

Parameters

const clang::ObjCIvarDecl* ivd
const clang::ento::SubRegion* sReg

void Profile(llvm::FoldingSetNodeID& ID) const

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

Parameters

llvm::FoldingSetNodeID& ID

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

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

Parameters

llvm::FoldingSetNodeID& ID
const clang::ObjCIvarDecl* ivd
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:1142

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

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

Parameters

const clang::ento::MemRegion* R

void dumpToStream(llvm::raw_ostream& os) const

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

Parameters

llvm::raw_ostream& os

const clang::ObjCIvarDecl* getDecl() const

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

clang::QualType getValueType() const

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

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:1143

Parameters

llvm::raw_ostream& os