Commit d4dcef2f authored by Nikolai Kosjar's avatar Nikolai Kosjar

C++: Remove unused FullySpecifiedType::copySpecifiers()

Change-Id: I1ea33f71a1b00cac06336bd0205e81b62d4d4b49
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent a4b2801f
......@@ -214,25 +214,6 @@ unsigned FullySpecifiedType::flags() const
void FullySpecifiedType::setFlags(unsigned flags)
{ _flags = flags; }
void FullySpecifiedType::copySpecifiers(const FullySpecifiedType &type)
{
// class storage specifiers
f._isFriend = type.f._isFriend;
f._isAuto = type.f._isAuto;
f._isRegister = type.f._isRegister;
f._isStatic = type.f._isStatic;
f._isExtern = type.f._isExtern;
f._isMutable = type.f._isMutable;
f._isTypedef = type.f._isTypedef;
// function specifiers
f._isInline = type.f._isInline;
f._isVirtual = type.f._isVirtual;
f._isOverride = type.f._isOverride;
f._isFinal = type.f._isFinal;
f._isExplicit = type.f._isExplicit;
}
bool FullySpecifiedType::match(const FullySpecifiedType &otherTy, Matcher *matcher) const
{
return type()->match(otherTy.type(), matcher);
......
......@@ -108,8 +108,6 @@ public:
FullySpecifiedType simplified() const;
void copySpecifiers(const FullySpecifiedType &type);
unsigned flags() const;
void setFlags(unsigned flags);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment