class SymbolExtent

Declaration

class SymbolExtent : public SymbolData { /* full declaration omitted */ };

Description

SymbolExtent - Represents the extent (size in bytes) of a bounded region. Clients should not ask the SymbolManager for a region's extent. Always use SubRegion::getExtent instead -- the value returned may not be a symbol.

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:178

Inherits from: SymbolData

Member Variables

private const clang::ento::SubRegion* R

Inherited from SymExpr:

protected Complexity = 0

Method Overview

  • public static void Profile(llvm::FoldingSetNodeID & profile, const clang::ento::SubRegion * R)
  • public void Profile(llvm::FoldingSetNodeID & profile)
  • public SymbolExtent(clang::ento::SymbolID sym, const clang::ento::SubRegion * r)
  • public static bool classof(const clang::ento::SymExpr * SE)
  • public void dumpToStream(llvm::raw_ostream & os) const
  • public llvm::StringRef getKindStr() const
  • public const clang::ento::SubRegion * getRegion() const
  • public clang::QualType getType() const

Inherited from SymbolData:

Inherited from SymExpr:

Inherited from FoldingSetBase::Node:

Methods

static void Profile(
    llvm::FoldingSetNodeID& profile,
    const clang::ento::SubRegion* R)

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:196

Parameters

llvm::FoldingSetNodeID& profile
const clang::ento::SubRegion* R

void Profile(llvm::FoldingSetNodeID& profile)

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:201

Parameters

llvm::FoldingSetNodeID& profile

SymbolExtent(clang::ento::SymbolID sym,
             const clang::ento::SubRegion* r)

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:182

Parameters

clang::ento::SymbolID sym
const clang::ento::SubRegion* r

static bool classof(
    const clang::ento::SymExpr* SE)

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:206

Parameters

const clang::ento::SymExpr* SE

void dumpToStream(llvm::raw_ostream& os) const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:194

Parameters

llvm::raw_ostream& os

llvm::StringRef getKindStr() const

Description

Get a string representation of the kind of the region.

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:192

const clang::ento::SubRegion* getRegion() const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:188

clang::QualType getType() const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:190