clang  7.0.0
Public Member Functions | List of all members
ConstructedObjectKey Class Reference

ConstructedObjectKey is used for being able to find the path-sensitive memory region of a freshly constructed object while modeling the AST node that syntactically represents the object that is being constructed. More...

Public Member Functions

 ConstructedObjectKey (const ConstructionContextItem &Item, const LocationContext *LC)
 
const ConstructionContextItemgetItem () const
 
const LocationContextgetLocationContext () const
 
void print (llvm::raw_ostream &OS, PrinterHelper *Helper, PrintingPolicy &PP)
 
void Profile (llvm::FoldingSetNodeID &ID) const
 
bool operator== (const ConstructedObjectKey &RHS) const
 
bool operator< (const ConstructedObjectKey &RHS) const
 

Detailed Description

ConstructedObjectKey is used for being able to find the path-sensitive memory region of a freshly constructed object while modeling the AST node that syntactically represents the object that is being constructed.

Semantics of such nodes may sometimes require access to the region that's not otherwise present in the program state, or to the very fact that the construction context was present and contained references to these AST nodes.

Definition at line 119 of file ExprEngine.cpp.

Constructor & Destructor Documentation

◆ ConstructedObjectKey()

ConstructedObjectKey::ConstructedObjectKey ( const ConstructionContextItem Item,
const LocationContext LC 
)
inlineexplicit

Definition at line 133 of file ExprEngine.cpp.

Member Function Documentation

◆ getItem()

const ConstructionContextItem& ConstructedObjectKey::getItem ( ) const
inline

Definition at line 137 of file ExprEngine.cpp.

◆ getLocationContext()

const LocationContext* ConstructedObjectKey::getLocationContext ( ) const
inline

Definition at line 138 of file ExprEngine.cpp.

◆ operator<()

bool ConstructedObjectKey::operator< ( const ConstructedObjectKey RHS) const
inline

Definition at line 163 of file ExprEngine.cpp.

◆ operator==()

bool ConstructedObjectKey::operator== ( const ConstructedObjectKey RHS) const
inline

Definition at line 159 of file ExprEngine.cpp.

◆ print()

void ConstructedObjectKey::print ( llvm::raw_ostream &  OS,
PrinterHelper Helper,
PrintingPolicy PP 
)
inline

Definition at line 140 of file ExprEngine.cpp.

References clang::ConstructionContextItem::ArgumentKind, and getKind().

◆ Profile()

void ConstructedObjectKey::Profile ( llvm::FoldingSetNodeID &  ID) const
inline

Definition at line 154 of file ExprEngine.cpp.


The documentation for this class was generated from the following file: