clang API Documentation
#include <Environment.h>


Public Member Functions | |
| EnvironmentEntry (const Stmt *s, const LocationContext *L) | |
| const Stmt * | getStmt () const |
| const LocationContext * | getLocationContext () const |
| void | Profile (llvm::FoldingSetNodeID &ID) const |
Static Public Member Functions | |
| static void | Profile (llvm::FoldingSetNodeID &ID, const EnvironmentEntry &E) |
| Profile an EnvironmentEntry for inclusion in a FoldingSet. | |
An entry in the environment consists of a Stmt and an LocationContext. This allows the environment to manage context-sensitive bindings, which is essentially for modeling recursive function analysis, among other things.
Definition at line 34 of file Environment.h.
| clang::ento::EnvironmentEntry::EnvironmentEntry | ( | const Stmt * | s, |
| const LocationContext * | L | ||
| ) | [inline] |
Definition at line 37 of file Environment.h.
| const LocationContext* clang::ento::EnvironmentEntry::getLocationContext | ( | ) | const [inline] |
Definition at line 42 of file Environment.h.
Referenced by Profile(), and clang::ento::StoreManager::removeDeadBindings().
| const Stmt* clang::ento::EnvironmentEntry::getStmt | ( | ) | const [inline] |
Definition at line 41 of file Environment.h.
Referenced by Profile(), and clang::ento::StoreManager::removeDeadBindings().
| static void clang::ento::EnvironmentEntry::Profile | ( | llvm::FoldingSetNodeID & | ID, |
| const EnvironmentEntry & | E | ||
| ) | [inline, static] |
Profile an EnvironmentEntry for inclusion in a FoldingSet.
Definition at line 45 of file Environment.h.
References getLocationContext(), and getStmt().
Referenced by Profile().
| void clang::ento::EnvironmentEntry::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | const [inline] |
Definition at line 51 of file Environment.h.
References Profile().