aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/abstractmetalang.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/ApiExtractor/abstractmetalang.h')
-rw-r--r--sources/shiboken2/ApiExtractor/abstractmetalang.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/sources/shiboken2/ApiExtractor/abstractmetalang.h b/sources/shiboken2/ApiExtractor/abstractmetalang.h
index ea2f4811e..83c1c334f 100644
--- a/sources/shiboken2/ApiExtractor/abstractmetalang.h
+++ b/sources/shiboken2/ApiExtractor/abstractmetalang.h
@@ -118,7 +118,6 @@ public:
Static = 0x00000040,
FinalInTargetLang = 0x00000080,
- FinalInCpp = 0x00000100,
GetterFunction = 0x00000400,
SetterFunction = 0x00000800,
@@ -134,9 +133,7 @@ public:
FinalCppClass = 0x00100000,
VirtualCppMethod = 0x00200000,
OverriddenCppMethod = 0x00400000,
- FinalCppMethod = 0x00800000,
-
- Final = FinalInTargetLang | FinalInCpp
+ FinalCppMethod = 0x00800000
};
Q_DECLARE_FLAGS(Attributes, Attribute)
Q_FLAG(Attribute)
@@ -181,21 +178,11 @@ public:
m_attributes &= ~attribute;
}
- bool isFinal() const
- {
- return (m_attributes & Final) == Final;
- }
-
bool isFinalInTargetLang() const
{
return m_attributes & FinalInTargetLang;
}
- bool isFinalInCpp() const
- {
- return m_attributes & FinalInCpp;
- }
-
bool isAbstract() const
{
return m_attributes & Abstract;