clang API Documentation
#include <MemRegion.h>
Public Member Functions | |
QualType | getValueType () const override |
bool | isBoundable () const override |
void | Profile (llvm::FoldingSetNodeID &ID) const override |
void | dumpToStream (raw_ostream &os) const override |
const CompoundLiteralExpr * | getLiteralExpr () const |
Static Public Member Functions | |
static bool | classof (const MemRegion *R) |
Friends | |
class | MemRegionManager |
CompoundLiteralRegion - A memory region representing a compound literal. Compound literals are essentially temporaries that are stack allocated or in the global constant pool.
Definition at line 813 of file MemRegion.h.
static bool clang::ento::CompoundLiteralRegion::classof | ( | const MemRegion * | R | ) | [inline, static] |
Reimplemented from clang::ento::TypedValueRegion.
Definition at line 837 of file MemRegion.h.
References clang::ento::MemRegion::CompoundLiteralRegionKind, and clang::ento::MemRegion::getKind().
void CompoundLiteralRegion::dumpToStream | ( | raw_ostream & | os | ) | const [override, virtual] |
Reimplemented from clang::ento::MemRegion.
Definition at line 479 of file MemRegion.cpp.
const CompoundLiteralExpr* clang::ento::CompoundLiteralRegion::getLiteralExpr | ( | ) | const [inline] |
Definition at line 835 of file MemRegion.h.
QualType clang::ento::CompoundLiteralRegion::getValueType | ( | ) | const [inline, override, virtual] |
Implements clang::ento::TypedValueRegion.
Definition at line 825 of file MemRegion.h.
References clang::Expr::getType().
bool clang::ento::CompoundLiteralRegion::isBoundable | ( | ) | const [inline, override, virtual] |
Reimplemented from clang::ento::TypedRegion.
Definition at line 829 of file MemRegion.h.
References clang::CompoundLiteralExpr::isFileScope().
void CompoundLiteralRegion::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | const [override, virtual] |
Implements clang::ento::MemRegion.
Definition at line 291 of file MemRegion.cpp.
friend class MemRegionManager [friend] |
Reimplemented from clang::ento::MemRegion.
Definition at line 815 of file MemRegion.h.