CBMC
require_symbol.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: Unit test utilities
4
5
Author: Diffblue Limited.
6
7
\*******************************************************************/
8
9
#ifndef CPROVER_TESTING_UTILS_REQUIRE_SYMBOL_H
10
#define CPROVER_TESTING_UTILS_REQUIRE_SYMBOL_H
11
12
#include <
util/irep.h
>
13
14
class
symbol_tablet
;
15
class
symbolt
;
16
19
20
// NOLINTNEXTLINE(readability/namespace)
21
namespace
require_symbol
22
{
23
const
symbolt
&
require_symbol_exists
(
24
const
symbol_tablet
&symbol_table,
25
const
irep_idt
&symbol_identifier);
26
}
27
28
#endif // CPROVER_TESTING_UTILS_REQUIRE_SYMBOL_H
dstringt
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition:
dstring.h:36
symbol_tablet
The symbol table.
Definition:
symbol_table.h:13
require_symbol::require_symbol_exists
const symbolt & require_symbol_exists(const symbol_tablet &symbol_table, const irep_idt &symbol_identifier)
Verify whether a given identifier is found in the symbol table and return it.
Definition:
require_symbol.cpp:17
symbolt
Symbol table entry.
Definition:
symbol.h:27
require_symbol
Definition:
require_symbol.h:21
irep.h
unit
testing-utils
require_symbol.h
Generated by
1.8.17