File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
regression/goto-cc-file-local Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use_find out-file-counter final-link wall suffix assertion-check
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
--
7
- ^.*warning : function '__CPROVER_file_local_main_c_static_fun' in module 'main' is shadowed by a definition in module 'main'
7
+ ^.*: function '__CPROVER_file_local_main_c_static_fun' in module 'main' is shadowed by a definition in module 'main'
8
8
^warning: ignoring
9
9
^\*\*\*\* WARNING: no body for function
10
10
--
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ foo/bar/baz/main.c
3
3
use_find out-file-counter final-link wall
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
- ^.*warning : function '__CPROVER_file_local_main_c_static_fun' in module 'main' is shadowed by a definition in module 'main'
6
+ ^.*: function '__CPROVER_file_local_main_c_static_fun' in module 'main' is shadowed by a definition in module 'main'
7
7
--
8
8
^warning: ignoring
9
9
^\*\*\*\* WARNING: no body for function
Original file line number Diff line number Diff line change @@ -796,12 +796,12 @@ void linkingt::duplicate_code_symbol(
796
796
else if (base_type_eq (old_symbol.type , new_symbol.type , ns))
797
797
{
798
798
// keep the one in old_symbol -- libraries come last!
799
- warning ().source_location = new_symbol.location ;
799
+ debug ().source_location = new_symbol.location ;
800
800
801
- warning () << " function '" << old_symbol.name << " ' in module '"
802
- << new_symbol.module
803
- << " ' is shadowed by a definition in module '"
804
- << old_symbol.module << " '" << eom;
801
+ debug () << " function '" << old_symbol.name << " ' in module '"
802
+ << new_symbol.module
803
+ << " ' is shadowed by a definition in module '"
804
+ << old_symbol.module << " '" << eom;
805
805
}
806
806
else
807
807
link_error (
You can’t perform that action at this time.
0 commit comments