bitfield is a complete type
[cparser] / type.c
diff --git a/type.c b/type.c
index 4069148..ba2938d 100644 (file)
--- a/type.c
+++ b/type.c
@@ -858,6 +858,8 @@ bool is_type_incomplete(const type_t *type)
                return !declaration->init.complete;
        }
        case TYPE_BITFIELD:
+               return false;
+
        case TYPE_FUNCTION:
                return true;