Skip to content

Commit d1f29d4

Browse files
authored
Merge pull request #5889 from tautschnig/bv-output
Include width in format() output of raw bitvector type
2 parents b2dc712 + b3a128e commit d1f29d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/util/format_type.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ std::ostream &format_rec(std::ostream &os, const typet &type)
8383
return os << "signedbv[" << to_signedbv_type(type).get_width() << ']';
8484
else if(id == ID_unsignedbv)
8585
return os << "unsignedbv[" << to_unsignedbv_type(type).get_width() << ']';
86+
else if(id == ID_bv)
87+
return os << "bv[" << to_bitvector_type(type).get_width() << ']';
8688
else if(id == ID_floatbv)
8789
return os << "floatbv[" << to_floatbv_type(type).get_width() << ']';
8890
else if(id == ID_c_bool)

0 commit comments

Comments
 (0)