File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ void c_typecheck_baset::typecheck_code(codet &code)
30
30
throw 0 ;
31
31
}
32
32
33
- code.type ()=code_typet ();
33
+ code.type ()=code_typet ({}, typet{} );
34
34
35
35
const irep_idt &statement=code.get_statement ();
36
36
Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ void jsil_typecheckt::typecheck_expr_index(exprt &expr)
348
348
349
349
// special case for function identifiers
350
350
if (expr.op1 ().id ()==" fid" || expr.op1 ().id ()==" constructid" )
351
- expr.type ()=code_typet ();
351
+ expr.type ()=code_typet ({}, typet () );
352
352
else
353
353
expr.type ()=jsil_value_type ();
354
354
}
@@ -802,7 +802,7 @@ void jsil_typecheckt::typecheck_function_call(
802
802
// Should be function, declaration not found yet
803
803
symbolt new_symbol;
804
804
new_symbol.name =id;
805
- new_symbol.type =code_typet ();
805
+ new_symbol.type =code_typet ({}, typet () );
806
806
new_symbol.mode =" jsil" ;
807
807
new_symbol.is_type =false ;
808
808
new_symbol.value =exprt (" no-body-just-yet" );
You can’t perform that action at this time.
0 commit comments