clang API Documentation

Public Member Functions | Static Public Member Functions
clang::ento::EnvironmentEntry Class Reference

#include <Environment.h>

Inheritance diagram for clang::ento::EnvironmentEntry:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::EnvironmentEntry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EnvironmentEntry (const Stmt *s, const LocationContext *L)
const StmtgetStmt () const
const LocationContextgetLocationContext () 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.

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 54 of file Environment.cpp.


Member Function Documentation

const Stmt* clang::ento::EnvironmentEntry::getStmt ( ) const [inline]
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 43 of file Environment.h.

References getLocationContext(), and getStmt().

Referenced by Profile().

void clang::ento::EnvironmentEntry::Profile ( llvm::FoldingSetNodeID &  ID) const [inline]

Definition at line 49 of file Environment.h.

References Profile().


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