CBMC
std_expr.cpp File Reference
#include "std_expr.h"
#include "namespace.h"
#include "pointer_expr.h"
#include "range.h"
#include "substitute_symbols.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())
 

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 80 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 66 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 54 of file std_expr.cpp.