Allow for NO_DEFAULT_STRUCT_VALUES

(will decide later if I want them or not)
This commit is contained in:
gingerBill
2018-05-13 21:09:49 +01:00
parent 9f1dda701d
commit 780b81a59f
4 changed files with 13 additions and 68 deletions
+1 -1
View File
@@ -684,7 +684,7 @@ Type *ir_type(irValue *value) {
bool ir_type_has_default_values(Type *t) {
#if 1
#if !defined(NO_DEFAULT_STRUCT_VALUES)
switch (t->kind) {
case Type_Named:
return ir_type_has_default_values(t->Named.base);