File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,14 @@ class annotated_typet : public typet
71
71
{
72
72
// This cast should be safe as java_annotationt doesn't add data to irept
73
73
return reinterpret_cast <const std::vector<java_annotationt> &>(
74
- find (ID_annotations ).get_sub ());
74
+ find (ID_C_annotations ).get_sub ());
75
75
}
76
76
77
77
std::vector<java_annotationt> &get_annotations ()
78
78
{
79
79
// This cast should be safe as java_annotationt doesn't add data to irept
80
80
return reinterpret_cast <std::vector<java_annotationt> &>(
81
- add (ID_annotations ).get_sub ());
81
+ add (ID_C_annotations ).get_sub ());
82
82
}
83
83
};
84
84
Original file line number Diff line number Diff line change @@ -664,7 +664,7 @@ IREP_ID_TWO(overflow_shl, overflow-shl)
664
664
IREP_ID_TWO(C_no_initialization_required, #no_initialization_required)
665
665
IREP_ID_TWO(overlay_class, java::com.diffblue.OverlayClassImplementation)
666
666
IREP_ID_TWO(overlay_method, java::com.diffblue.OverlayMethodImplementation)
667
- IREP_ID_ONE( annotations)
667
+ IREP_ID_TWO(C_annotations, # annotations)
668
668
669
669
// Projects depending on this code base that wish to extend the list of
670
670
// available ids should provide a file local_irep_ids.h in their source tree and
You can’t perform that action at this time.
0 commit comments