CBMC
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
j
l
m
r
t
w
Functions
a
c
d
f
g
r
t
w
Typedefs
Enumerations
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
k
l
m
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Related Symbols
b
c
d
e
g
i
j
m
n
o
s
t
u
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
y
Typedefs
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
_
a
b
c
d
f
g
i
l
m
p
r
s
t
u
v
w
Enumerator
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
cpp_util.cpp
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module:
4
5
Author:
6
7
\*******************************************************************/
8
9
#include "
cpp_util.h
"
10
11
#include <
util/std_expr.h
>
12
#include <
util/symbol.h
>
13
14
symbol_exprt
cpp_symbol_expr
(
const
symbolt
&symbol)
15
{
16
symbol_exprt
tmp
(symbol.
name
, symbol.
type
);
17
18
if
(symbol.
is_lvalue
)
19
tmp
.set(
ID_C_lvalue
,
true
);
20
21
return
tmp
;
22
}
14
symbol_exprt
cpp_symbol_expr
(
const
symbolt
&symbol) {
…
}
ait
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition
ai.h:562
symbol_exprt
Expression to hold a symbol (variable)
Definition
std_expr.h:131
symbolt
Symbol table entry.
Definition
symbol.h:28
symbolt::type
typet type
Type of symbol.
Definition
symbol.h:31
symbolt::name
irep_idt name
The unique identifier.
Definition
symbol.h:40
symbolt::is_lvalue
bool is_lvalue
Definition
symbol.h:72
cpp_symbol_expr
symbol_exprt cpp_symbol_expr(const symbolt &symbol)
Definition
cpp_util.cpp:14
cpp_util.h
std_expr.h
API to expression classes.
symbol.h
Symbol table entry.
src
cpp
cpp_util.cpp
Generated by
1.9.8