CBMC
cpp_linkage_spec.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: C++ Language Type Checking
4
5
Author: Daniel Kroening, kroening@cs.cmu.edu
6
7
\*******************************************************************/
8
11
12
#ifndef CPROVER_CPP_CPP_LINKAGE_SPEC_H
13
#define CPROVER_CPP_CPP_LINKAGE_SPEC_H
14
15
class
cpp_linkage_spect
:
public
exprt
16
{
17
public
:
18
cpp_linkage_spect
():
exprt
(ID_cpp_linkage_spec)
19
{
20
}
21
22
typedef
std::vector<class cpp_itemt>
itemst
;
23
24
const
itemst
&
items
()
const
25
{
26
return
(
const
itemst
&)
operands
();
27
}
28
29
itemst
&
items
()
30
{
31
return
(
itemst
&)
operands
();
32
}
33
34
irept
&
linkage
()
35
{
36
return
add
(ID_linkage);
37
}
38
39
const
irept
&
linkage
()
const
40
{
41
return
find
(ID_linkage);
42
}
43
};
44
45
#endif // CPROVER_CPP_CPP_LINKAGE_SPEC_H
irept::find
const irept & find(const irep_idt &name) const
Definition:
irep.cpp:106
exprt
Base class for all expressions.
Definition:
expr.h:55
cpp_linkage_spect::itemst
std::vector< class cpp_itemt > itemst
Definition:
cpp_linkage_spec.h:22
cpp_linkage_spect::items
itemst & items()
Definition:
cpp_linkage_spec.h:29
cpp_linkage_spect::cpp_linkage_spect
cpp_linkage_spect()
Definition:
cpp_linkage_spec.h:18
cpp_linkage_spect
Definition:
cpp_linkage_spec.h:15
irept::add
irept & add(const irep_idt &name)
Definition:
irep.cpp:116
cpp_linkage_spect::items
const itemst & items() const
Definition:
cpp_linkage_spec.h:24
irept
There are a large number of kinds of tree structured or tree-like data in CPROVER.
Definition:
irep.h:359
exprt::operands
operandst & operands()
Definition:
expr.h:94
cpp_linkage_spect::linkage
irept & linkage()
Definition:
cpp_linkage_spec.h:34
cpp_linkage_spect::linkage
const irept & linkage() const
Definition:
cpp_linkage_spec.h:39
src
cpp
cpp_linkage_spec.h
Generated by
1.8.17