From 2c2fa3485e565ede03ea9b09cf5b9d2c42afc0fa Mon Sep 17 00:00:00 2001 From: John Bowler Date: Tue, 10 Oct 2023 12:04:38 -0700 Subject: [PATCH] Remove new friend and auto flags from codemodel.h Signed-off-by: John Bowler --- generator/parser/codemodel.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/generator/parser/codemodel.h b/generator/parser/codemodel.h index 439f69fb9..06af94f61 100644 --- a/generator/parser/codemodel.h +++ b/generator/parser/codemodel.h @@ -141,12 +141,6 @@ struct TypeInfo bool isMutable() const { return m_flags.m_mutable; } void setMutable(bool is) { m_flags.m_mutable = is; } - bool isFriend() const { return m_flags.m_friend; } - void setFriend(bool is) { m_flags.m_friend = is; } - - bool isAuto() const { return m_flags.m_auto; } - void setAuto(bool is) { m_flags.m_auto = is; } - bool isReference() const { return m_flags.m_reference; } void setReference(bool is) { m_flags.m_reference = is; } @@ -182,8 +176,6 @@ struct TypeInfo uint m_constexpr: 1; uint m_volatile: 1; uint m_mutable: 1; - uint m_friend: 1; - uint m_auto: 1; uint m_reference: 1; uint m_functionPointer: 1; uint m_indirections: 6; @@ -197,7 +189,7 @@ struct TypeInfo && m_functionPointer == other.m_functionPointer && m_indirections == other.m_indirections; } - } m_flags {0, 0, 0, 0, 0, 0, 0, 0, 0}; + } m_flags {0, 0, 0, 0, 0, 0, 0}; QStringList m_qualifiedName; QStringList m_arrayElements;