Skip to content

Commit

Permalink
Remove new friend and auto flags from codemodel.h
Browse files Browse the repository at this point in the history
Signed-off-by: John Bowler <jbowler@acm.org>
  • Loading branch information
jbowler committed Oct 10, 2023
1 parent 06f5b28 commit 2c2fa34
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions generator/parser/codemodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 2c2fa34

Please sign in to comment.