cprover
Toggle main menu visibility
Loading...
Searching...
No Matches
dfcc_contract_mode.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: Dynamic frame condition checking for function contracts
4
5
Author: Remi Delmas, delmasrd@amazon.com
6
Date: August 2022
7
8
\*******************************************************************/
9
12
13
#ifndef CPROVER_GOTO_INSTRUMENT_CONTRACTS_DYNAMIC_FRAMES_DFCC_CONTRACT_MODE_H
14
#define CPROVER_GOTO_INSTRUMENT_CONTRACTS_DYNAMIC_FRAMES_DFCC_CONTRACT_MODE_H
15
16
#include <string>
17
19
enum class
dfcc_contract_modet
20
{
21
CHECK
,
22
REPLACE
23
};
24
25
std::string
dfcc_contract_mode_to_string
(
const
dfcc_contract_modet
mode);
26
27
std::ostream &
operator<<
(std::ostream &os,
const
dfcc_contract_modet
mode);
28
29
#endif
operator<<
std::ostream & operator<<(std::ostream &os, const dfcc_contract_modet mode)
Definition
dfcc_contract_mode.cpp:27
dfcc_contract_mode_to_string
std::string dfcc_contract_mode_to_string(const dfcc_contract_modet mode)
Definition
dfcc_contract_mode.cpp:15
dfcc_contract_modet
dfcc_contract_modet
Enum type representing the contract checking and replacement modes.
Definition
dfcc_contract_mode.h:20
dfcc_contract_modet::REPLACE
@ REPLACE
Definition
dfcc_contract_mode.h:22
dfcc_contract_modet::CHECK
@ CHECK
Definition
dfcc_contract_mode.h:21
goto-instrument
contracts
dynamic-frames
dfcc_contract_mode.h
Generated by
1.17.0