Allow comparisons with bit field values

This commit is contained in:
gingerBill
2019-05-09 13:18:57 +01:00
parent 71a733e3b5
commit 16f3bc2c0b
3 changed files with 58 additions and 15 deletions
+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);
}