File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -430,6 +430,25 @@ void remove_function_pointerst::remove_function_pointer(
430
430
statistics ().source_location =target->source_location ;
431
431
statistics () << " replacing function pointer by "
432
432
<< functions.size () << " possible targets" << eom;
433
+
434
+ // list the names of functions when verbosity is at debug level
435
+ conditional_output (
436
+ debug (),
437
+ [this , &functions](mstreamt &mstream) {
438
+ mstream << " targets: " ;
439
+
440
+ bool first = true ;
441
+ for (const auto &function : functions)
442
+ {
443
+ if (!first)
444
+ mstream << " , " ;
445
+
446
+ mstream << function.get_identifier ();
447
+ first = false ;
448
+ }
449
+
450
+ mstream << eom;
451
+ });
433
452
}
434
453
435
454
bool remove_function_pointerst::remove_function_pointers (
You can’t perform that action at this time.
0 commit comments