CBMC
std_expr.cpp File Reference
#include "std_expr.h"
#include "namespace.h"
#include "pointer_expr.h"
#include "range.h"
#include <map>
+ Include dependency graph for std_expr.cpp:

Go to the source code of this file.

Functions

exprt disjunction (const exprt::operandst &op)
 1) generates a disjunction for two or more operands 2) for one operand, returns the operand 3) returns false otherwise More...
 
exprt conjunction (const exprt::operandst &op)
 1) generates a conjunction for two or more operands 2) for one operand, returns the operand 3) returns true otherwise More...
 
template<typename T >
auto component (T &struct_expr, const irep_idt &name, const namespacet &ns) -> decltype(struct_expr.op0())
 
static optionalt< exprtsubstitute_symbols_rec (const std::map< irep_idt, exprt > &substitutions, exprt src)
 

Function Documentation

◆ component()

template<typename T >
auto component ( T &  struct_expr,
const irep_idt name,
const namespacet ns 
) -> decltype(struct_expr.op0())

Definition at line 76 of file std_expr.cpp.

◆ conjunction()

exprt conjunction ( const exprt::operandst op)

1) generates a conjunction for two or more operands 2) for one operand, returns the operand 3) returns true otherwise

Definition at line 62 of file std_expr.cpp.

◆ disjunction()

exprt disjunction ( const exprt::operandst op)

1) generates a disjunction for two or more operands 2) for one operand, returns the operand 3) returns false otherwise

Definition at line 50 of file std_expr.cpp.

◆ substitute_symbols_rec()

static optionalt<exprt> substitute_symbols_rec ( const std::map< irep_idt, exprt > &  substitutions,
exprt  src 
)
static

Definition at line 168 of file std_expr.cpp.