@@ -269,13 +269,13 @@ void cpp_typecheckt::typecheck_compound_type(
269
269
// put into dest_scope
270
270
cpp_idt &id=cpp_scopes.put_into_scope (*new_symbol, *dest_scope);
271
271
272
- id.id_class =cpp_idt::CLASS;
272
+ id.id_class =cpp_idt::id_classt:: CLASS;
273
273
id.is_scope =true ;
274
274
id.prefix =cpp_scopes.current_scope ().prefix +
275
275
id2string (new_symbol->base_name )+
276
276
cpp_scopes.current_scope ().suffix +" ::" ;
277
277
id.class_identifier =new_symbol->name ;
278
- id.id_class =cpp_idt::CLASS;
278
+ id.id_class =cpp_idt::id_classt:: CLASS;
279
279
280
280
if (has_body)
281
281
typecheck_compound_body (*new_symbol);
@@ -856,7 +856,9 @@ void cpp_typecheckt::put_compound_into_scope(
856
856
{
857
857
// put the symbol into scope
858
858
cpp_idt &id=cpp_scopes.current_scope ().insert (base_name);
859
- id.id_class =compound .get_bool (" is_type" )?cpp_idt::TYPEDEF:cpp_idt::SYMBOL;
859
+ id.id_class =compound .get_bool (" is_type" )?
860
+ cpp_idt::id_classt::TYPEDEF:
861
+ cpp_idt::id_classt::SYMBOL;
860
862
id.identifier =name;
861
863
id.class_identifier =cpp_scopes.current_scope ().identifier ;
862
864
id.is_member =true ;
@@ -870,7 +872,7 @@ void cpp_typecheckt::put_compound_into_scope(
870
872
cpp_scopes.current_scope ().insert (
871
873
irep_idt (std::string (" $block:" ) + base_name.c_str ()));
872
874
873
- id_block.id_class =cpp_idt::BLOCK_SCOPE;
875
+ id_block.id_class =cpp_idt::id_classt:: BLOCK_SCOPE;
874
876
id_block.identifier =name;
875
877
id_block.class_identifier =cpp_scopes.current_scope ().identifier ;
876
878
id_block.is_method =true ;
@@ -905,7 +907,9 @@ void cpp_typecheckt::put_compound_into_scope(
905
907
906
908
// put into the scope
907
909
cpp_idt &id=cpp_scopes.current_scope ().insert (base_name);
908
- id.id_class =compound .get_bool (ID_is_type)?cpp_idt::TYPEDEF:cpp_idt::SYMBOL;
910
+ id.id_class =compound .get_bool (ID_is_type)?
911
+ cpp_idt::id_classt::TYPEDEF:
912
+ cpp_idt::id_classt::SYMBOL;
909
913
id.identifier =name;
910
914
id.class_identifier =cpp_scopes.current_scope ().identifier ;
911
915
id.is_member =true ;
@@ -1545,7 +1549,7 @@ void cpp_typecheckt::add_anonymous_members_to_scope(
1545
1549
}
1546
1550
1547
1551
cpp_idt &id=cpp_scopes.current_scope ().insert (base_name);
1548
- id.id_class =cpp_idt::SYMBOL;
1552
+ id.id_class =cpp_idt::id_classt:: SYMBOL;
1549
1553
id.identifier =comp.get_name ();
1550
1554
id.class_identifier =struct_union_symbol.name ;
1551
1555
id.is_member =true ;
0 commit comments