mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-17 03:12:22 -07:00
bit_set constants
This commit is contained in:
@@ -757,6 +757,9 @@ bool is_type_constant_type(Type *t) {
|
||||
if (t->kind == Type_Basic) {
|
||||
return (t->Basic.flags & BasicFlag_ConstantType) != 0;
|
||||
}
|
||||
if (t->kind == Type_BitSet) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
bool is_type_float(Type *t) {
|
||||
|
||||
Reference in New Issue
Block a user