File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -258,15 +258,16 @@ bool value_set_analysis_fivrt::check_type(const typet &type)
258
258
{
259
259
if (type.id ()==ID_pointer)
260
260
{
261
- switch (track_options) {
261
+ switch (track_options)
262
+ {
262
263
case TRACK_ALL_POINTERS:
263
264
{ return true ; break ; }
264
265
case TRACK_FUNCTION_POINTERS:
265
266
{
266
267
if (type.id ()==ID_pointer)
267
268
{
268
269
const typet *t = &type;
269
- while (t->id ()==ID_pointer) t = &(t->subtype ());
270
+ while (t->id ()==ID_pointer) t = &(t->subtype ());
270
271
271
272
return (t->id ()==ID_code);
272
273
}
@@ -290,7 +291,8 @@ bool value_set_analysis_fivrt::check_type(const typet &type)
290
291
it!=components.end ();
291
292
it++)
292
293
{
293
- if (check_type (it->type ())) return true ;
294
+ if (check_type (it->type ()))
295
+ return true ;
294
296
}
295
297
}
296
298
else if (type.id ()==ID_array)
Original file line number Diff line number Diff line change @@ -258,15 +258,16 @@ bool value_set_analysis_fivrnst::check_type(const typet &type)
258
258
{
259
259
if (type.id ()==ID_pointer)
260
260
{
261
- switch (track_options) {
261
+ switch (track_options)
262
+ {
262
263
case TRACK_ALL_POINTERS:
263
264
{ return true ; break ; }
264
265
case TRACK_FUNCTION_POINTERS:
265
266
{
266
267
if (type.id ()==ID_pointer)
267
268
{
268
269
const typet *t = &type;
269
- while (t->id ()==ID_pointer) t = &(t->subtype ());
270
+ while (t->id ()==ID_pointer) t = &(t->subtype ());
270
271
271
272
return (t->id ()==ID_code);
272
273
}
@@ -290,7 +291,8 @@ bool value_set_analysis_fivrnst::check_type(const typet &type)
290
291
it!=components.end ();
291
292
it++)
292
293
{
293
- if (check_type (it->type ())) return true ;
294
+ if (check_type (it->type ()))
295
+ return true ;
294
296
}
295
297
}
296
298
else if (type.id ()==ID_array)
You can’t perform that action at this time.
0 commit comments