From 0905072b3ccfcb394b1dca2405a55cff4e2b9271 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Fri, 20 Jan 2023 11:56:38 +0000 Subject: tons more renaming of stuff --- compiler_and_linker/unsorted/CRTTI.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'compiler_and_linker/unsorted/CRTTI.c') 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; } -- cgit v1.2.3