CCTLib
Calling-context and data-object attribution library for Intel Pin
AssertionRecorder Struct Reference
+ Collaboration diagram for AssertionRecorder:

Public Member Functions

template<typename A , typename B >
void expectLE (A obs, B lim, const char *what)
 
template<typename A , typename B >
void expectGE (A obs, B lim, const char *what)
 
template<typename A , typename B , typename C >
void expectInRange (A obs, B lo, C hi, const char *what)
 
template<typename A , typename B >
void expectEQ (A obs, B want, const char *what)
 
void expectTrue (bool b, const char *what)
 
void expectNoSentinels (const CctInventory &inv)
 

Public Attributes

vector< string > failures
 
const char * checkName
 

Detailed Description

Definition at line 451 of file cct_shape_check.cpp.

Member Function Documentation

◆ expectEQ()

template<typename A , typename B >
void AssertionRecorder::expectEQ ( A  obs,
B  want,
const char *  what 
)
inline

◆ expectGE()

template<typename A , typename B >
void AssertionRecorder::expectGE ( A  obs,
B  lim,
const char *  what 
)
inline

Definition at line 465 of file cct_shape_check.cpp.

Referenced by check_rec_baseline_nonrec().

◆ expectInRange()

template<typename A , typename B , typename C >
void AssertionRecorder::expectInRange ( A  obs,
B  lo,
C  hi,
const char *  what 
)
inline

Definition at line 474 of file cct_shape_check.cpp.

◆ expectLE()

template<typename A , typename B >
void AssertionRecorder::expectLE ( A  obs,
B  lim,
const char *  what 
)
inline

Definition at line 456 of file cct_shape_check.cpp.

Referenced by check_exc_ctor_throw(), and check_exc_recurse_trycatch().

◆ expectNoSentinels()

◆ expectTrue()

Member Data Documentation

◆ checkName

const char* AssertionRecorder::checkName

Definition at line 453 of file cct_shape_check.cpp.

Referenced by RunChecksAndExit().

◆ failures

vector<string> AssertionRecorder::failures

Definition at line 452 of file cct_shape_check.cpp.

Referenced by RunChecksAndExit().


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