class CXXThisRegion

Declaration

class CXXThisRegion : public TypedValueRegion { /* full declaration omitted */ };

Description

CXXThisRegion - Represents the region for the implicit 'this' parameter in a call to a C++ method. This region doesn't represent the object referred to by 'this', but rather 'this' itself.

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

Inherits from: TypedValueRegion

Member Variables

private const clang::PointerType* ThisPointerTy

Inherited from SubRegion:

protected superRegion

Method Overview

  • private CXXThisRegion(const clang::PointerType * thisPointerTy, const clang::ento::StackArgumentsSpaceRegion * sReg)
  • public void Profile(llvm::FoldingSetNodeID & ID) const
  • private static void ProfileRegion(llvm::FoldingSetNodeID & ID, const clang::PointerType * PT, const clang::ento::MemRegion * sReg)
  • public static bool classof(const clang::ento::MemRegion * R)
  • public void dumpToStream(llvm::raw_ostream & os) const
  • public clang::QualType getValueType() const

Inherited from TypedValueRegion:

Inherited from TypedRegion:

Inherited from SubRegion:

Inherited from MemRegion:

Inherited from FoldingSetBase::Node:

Methods

CXXThisRegion(
    const clang::PointerType* thisPointerTy,
    const clang::ento::StackArgumentsSpaceRegion*
        sReg)

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

Parameters

const clang::PointerType* thisPointerTy
const clang::ento::StackArgumentsSpaceRegion* sReg

void Profile(llvm::FoldingSetNodeID& ID) const

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

Parameters

llvm::FoldingSetNodeID& ID

static void ProfileRegion(
    llvm::FoldingSetNodeID& ID,
    const clang::PointerType* PT,
    const clang::ento::MemRegion* sReg)

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

Parameters

llvm::FoldingSetNodeID& ID
const clang::PointerType* PT
const clang::ento::MemRegion* sReg

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

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

Parameters

const clang::ento::MemRegion* R

void dumpToStream(llvm::raw_ostream& os) const

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

Parameters

llvm::raw_ostream& os

clang::QualType getValueType() const

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