File tree 2 files changed +7
-6
lines changed 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ exprt get_class_identifier_field(
61
61
// Get a pointer from which we can extract a clsid.
62
62
// If it's already a pointer to an object of some sort, just use it;
63
63
// if it's void* then use the suggested type.
64
- PRECONDITION (this_expr_in.type ().id ()== ID_pointer);
64
+ PRECONDITION (this_expr_in.type ().id () == ID_pointer);
65
65
66
66
exprt this_expr=this_expr_in;
67
67
const auto &points_to=this_expr.type ().subtype ();
Original file line number Diff line number Diff line change @@ -21,15 +21,16 @@ void compute_address_taken_functions(
21
21
forall_operands (it, src)
22
22
compute_address_taken_functions (*it, address_taken);
23
23
24
- if (src.id ()== ID_address_of)
24
+ if (src.id () == ID_address_of)
25
25
{
26
26
const address_of_exprt &address = to_address_of_expr (src);
27
27
28
- if (address.type ().id ()==ID_pointer &&
29
- address.type ().subtype ().id ()==ID_code)
28
+ if (
29
+ address.type ().id () == ID_pointer &&
30
+ address.type ().subtype ().id () == ID_code)
30
31
{
31
- const exprt &target= address.object ();
32
- if (target.id ()== ID_symbol)
32
+ const exprt &target = address.object ();
33
+ if (target.id () == ID_symbol)
33
34
address_taken.insert (to_symbol_expr (target).get_identifier ());
34
35
}
35
36
}
You can’t perform that action at this time.
0 commit comments