Skip to content

Commit 09f6eb3

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#3085 from diffblue/endianness_mapt_build_big_endian_struct_tag
endianness_mapt::build_big_endian now does struct_tag types
2 parents 573153a + 61ff060 commit 09f6eb3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/util/endianness_map.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ void endianness_mapt::build_big_endian(const typet &src)
8383
build_big_endian(c.type());
8484
}
8585
}
86+
else if(src.id() == ID_struct_tag)
87+
{
88+
build_big_endian(ns.follow_tag(to_struct_tag_type(src)));
89+
}
8690
else if(src.id()==ID_array)
8791
{
8892
const array_typet &array_type=to_array_type(src);

0 commit comments

Comments
 (0)