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:
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:
- public Profile
- public StripCasts
- public canPrintPretty
- public canPrintPrettyAsExpr
- public castAs
- public dump
- public dumpToStream
- public getAs
- public getAsOffset
- public getBaseRegion
- public getContext
- public getDescriptiveName
- public getKind
- public getMemRegionManager
- public getMemorySpace
- public getMostDerivedObjectRegion
- public getString
- public getSymbolicBase
- public hasGlobalsOrParametersStorage
- public hasStackNonParametersStorage
- public hasStackParametersStorage
- public hasStackStorage
- public isBoundable
- public isSubRegionOf
- public printPretty
- public printPrettyAsExpr
- public sourceRange
Inherited from FoldingSetBase::Node:
Methods
¶void Profile(llvm::FoldingSetNodeID& ID) const
void Profile(llvm::FoldingSetNodeID& ID) const
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:829
Parameters
¶static void ProfileRegion(
llvm::FoldingSetNodeID& ID,
const clang::StringLiteral* Str,
const clang::ento::MemRegion* superRegion)
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)
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)
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
void dumpToStream(llvm::raw_ostream& os) const
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:833
Parameters
¶const clang::StringLiteral* getStringLiteral()
const
const clang::StringLiteral* getStringLiteral()
const
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:823
¶clang::QualType getValueType() const
clang::QualType getValueType() const
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:825
¶bool isBoundable() const
bool isBoundable() const
Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:827