class StringRegion

Declaration

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

Description

StringRegion - Region associated with a StringLiteral.

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

Inherits from: TypedValueRegion

Member Variables

private const clang::StringLiteral* Str

Inherited from SubRegion:

protected superRegion

Method Overview

  • public void Profile(llvm::FoldingSetNodeID & ID) const
  • private static void ProfileRegion(llvm::FoldingSetNodeID & ID, const clang::StringLiteral * Str, const clang::ento::MemRegion * superRegion)
  • private StringRegion(const clang::StringLiteral * str, const clang::ento::GlobalInternalSpaceRegion * sreg)
  • public static bool classof(const clang::ento::MemRegion * R)
  • public void dumpToStream(llvm::raw_ostream & os) const
  • public const clang::StringLiteral * getStringLiteral() const
  • public clang::QualType getValueType() const
  • public bool isBoundable() const

Inherited from TypedValueRegion:

Inherited from TypedRegion:

Inherited from SubRegion:

Inherited from MemRegion:

Inherited from FoldingSetBase::Node:

Methods

void Profile(llvm::FoldingSetNodeID& ID) const

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

Parameters

llvm::FoldingSetNodeID& ID

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

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

Parameters

llvm::FoldingSetNodeID& ID
const clang::StringLiteral* Str
const clang::ento::MemRegion* superRegion

StringRegion(
    const clang::StringLiteral* str,
    const clang::ento::GlobalInternalSpaceRegion*
        sreg)

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

Parameters

const clang::StringLiteral* str
const clang::ento::GlobalInternalSpaceRegion* sreg

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

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

Parameters

const clang::ento::MemRegion* R

void dumpToStream(llvm::raw_ostream& os) const

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

Parameters

llvm::raw_ostream& os

const clang::StringLiteral* getStringLiteral()
    const

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

clang::QualType getValueType() const

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

bool isBoundable() const

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