diff options
| author | gingerBill <bill@gingerbill.org> | 2018-10-29 22:16:43 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-10-29 22:16:43 +0000 |
| commit | 5aa591d8845d8803d9a59502e99bc666bead9a3f (patch) | |
| tree | 2806e288b161eeefd76bfbf081f03632d1f339bf /src/types.cpp | |
| parent | efe91b1f91f2cca2478ceaeb99f3b3cae3291d98 (diff) | |
Fix debug info issue
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp index f8ed17063..beb94caac 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -912,7 +912,7 @@ Type *base_complex_elem_type(Type *t) { bool is_type_struct(Type *t) { t = base_type(t); - return (t->kind == Type_Struct && !t->Struct.is_raw_union); + return t->kind == Type_Struct; } bool is_type_union(Type *t) { t = base_type(t); |