clang
3.7.0
|
Represents a program point after a store evaluation. More...
#include <ProgramPoint.h>
Public Member Functions | |
PostStore (const Stmt *S, const LocationContext *L, const void *Loc, const ProgramPointTag *tag=nullptr) | |
const void * | getLocationValue () const |
Returns the information about the location used in the store, how it was uttered in the code. More... | |
![]() | |
PostStmt (const Stmt *S, Kind k, const LocationContext *L, const ProgramPointTag *tag=nullptr) | |
PostStmt (const Stmt *S, const LocationContext *L, const ProgramPointTag *tag=nullptr) | |
![]() | |
StmtPoint (const Stmt *S, const void *p2, Kind k, const LocationContext *L, const ProgramPointTag *tag) | |
const Stmt * | getStmt () const |
template<typename T > | |
const T * | getStmtAs () const |
![]() | |
ProgramPoint | withTag (const ProgramPointTag *tag) const |
template<typename T > | |
T | castAs () const |
Convert to the specified ProgramPoint type, asserting that this ProgramPoint is of the desired type. More... | |
template<typename T > | |
Optional< T > | getAs () const |
Convert to the specified ProgramPoint type, returning None if this ProgramPoint is not of the desired type. More... | |
Kind | getKind () const |
bool | isPurgeKind () |
Is this a program point corresponding to purge/removal of dead symbols and bindings. More... | |
const ProgramPointTag * | getTag () const |
const LocationContext * | getLocationContext () const |
unsigned | getHashValue () const |
bool | operator== (const ProgramPoint &RHS) const |
bool | operator!= (const ProgramPoint &RHS) const |
void | Profile (llvm::FoldingSetNodeID &ID) const |
Friends | |
class | ProgramPoint |
Represents a program point after a store evaluation.
Definition at line 376 of file ProgramPoint.h.
|
inline |
Construct the post store point.
Loc | can be used to store the information about the location used in the form it was uttered in the code. |
Definition at line 381 of file ProgramPoint.h.
References clang::ProgramPoint::getData2(), and clang::ProgramPoint::setData2().
|
inline |
Returns the information about the location used in the store, how it was uttered in the code.
Definition at line 390 of file ProgramPoint.h.
References clang::ProgramPoint::getData2().
|
friend |
Definition at line 395 of file ProgramPoint.h.