diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-20 11:56:38 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-20 11:56:38 +0000 |
commit | 0905072b3ccfcb394b1dca2405a55cff4e2b9271 (patch) | |
tree | c7c6f87ecf257c4e7b6a92355e75030165731371 /compiler_and_linker/unsorted/CRTTI.c | |
parent | 7d986adf37220e1981a707745b784b078de4e3bc (diff) | |
download | MWCC-0905072b3ccfcb394b1dca2405a55cff4e2b9271.tar.gz MWCC-0905072b3ccfcb394b1dca2405a55cff4e2b9271.zip |
tons more renaming of stuff
Diffstat (limited to 'compiler_and_linker/unsorted/CRTTI.c')
-rw-r--r-- | compiler_and_linker/unsorted/CRTTI.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler_and_linker/unsorted/CRTTI.c b/compiler_and_linker/unsorted/CRTTI.c index 7b4ef5d..3881153 100644 --- a/compiler_and_linker/unsorted/CRTTI.c +++ b/compiler_and_linker/unsorted/CRTTI.c @@ -267,7 +267,7 @@ static Object *CRTTI_ConstructTypeInfoObject(Type *type, UInt32 qual) { if (IS_TYPE_CLASS(type) && type->size == 0) { CDecl_CompleteType(type); - if (!(TYPE_CLASS(type)->flags & CLASS_FLAGS_2)) + if (!(TYPE_CLASS(type)->flags & CLASS_COMPLETED)) CError_Error(CErrorStr136, type, 0); } @@ -544,7 +544,7 @@ static void CRTTI_IncompleteCheck(Type *type) { if (IS_TYPE_CLASS(type) && type->size == 0) { CDecl_CompleteType(type); - if (!(TYPE_CLASS(type)->flags & CLASS_FLAGS_2)) + if (!(TYPE_CLASS(type)->flags & CLASS_COMPLETED)) CError_Error(CErrorStr136, type, 0); } } @@ -701,7 +701,7 @@ ENode *CRTTI_Parse_dynamic_cast(void) { if (IS_TYPE_CLASS(TPTR_TARGET(di.thetype))) { destclass = TYPE_CLASS(TPTR_TARGET(di.thetype)); CDecl_CompleteType(TYPE(destclass)); - if (!(destclass->flags & CLASS_FLAGS_2)) { + if (!(destclass->flags & CLASS_COMPLETED)) { CError_Error(CErrorStr136, destclass, 0); return expr; } @@ -738,7 +738,7 @@ ENode *CRTTI_Parse_dynamic_cast(void) { } } - if (!(srcclass->flags & CLASS_FLAGS_2)) { + if (!(srcclass->flags & CLASS_COMPLETED)) { CError_Error(CErrorStr136, srcclass, 0); return expr; } |