Allow comparisons with bit field values

This commit is contained in:
gingerBill committed 2019-05-09 13:18:57 +01:00
1 parent 71a733e3b5
commit 16f3bc2c0b
3 files changed
+58 -15

No files matched your search

+3
View File
@@ -1490,6 +1490,9 @@ bool is_type_comparable(Type *t) {
case Type_BitSet:
return true;
case Type_BitFieldValue:
return true;
case Type_Opaque:
return is_type_comparable(t->Opaque.elem);
}