aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/abstractmetalang.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-12-01 10:00:57 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-12-01 13:54:20 +0000
commitd9aefad1942239e587698d1fa9213a881f6d19be (patch)
tree6bc9fec8941fedc60e5bd2a4ec26ef347ab196f9 /sources/shiboken2/ApiExtractor/abstractmetalang.h
parentfc2cbed6d053f4287d981bcf68d435187dd7b1eb (diff)
shiboken/AbstractMetaAttributes: Remove some unused attributes
Remove Native, FinalOverload, InterfaceFunction, Fake. Change-Id: I1232751169fafb144387343857a962bafee714e9 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/abstractmetalang.h')
-rw-r--r--sources/shiboken2/ApiExtractor/abstractmetalang.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/sources/shiboken2/ApiExtractor/abstractmetalang.h b/sources/shiboken2/ApiExtractor/abstractmetalang.h
index 2643ac0ed..25953b49b 100644
--- a/sources/shiboken2/ApiExtractor/abstractmetalang.h
+++ b/sources/shiboken2/ApiExtractor/abstractmetalang.h
@@ -113,7 +113,6 @@ public:
Friendly = 0x00000008,
Visibility = 0x0000000f,
- Native = 0x00000010,
Abstract = 0x00000020,
Static = 0x00000040,
@@ -124,15 +123,10 @@ public:
GetterFunction = 0x00000400,
SetterFunction = 0x00000800,
- FinalOverload = 0x00001000,
- InterfaceFunction = 0x00002000,
-
PropertyReader = 0x00004000,
PropertyWriter = 0x00008000,
PropertyResetter = 0x00010000,
- Fake = 0x00020000,
-
Invokable = 0x00040000,
HasRejectedConstructor = 0x00080000,
@@ -182,11 +176,6 @@ public:
m_attributes &= ~attribute;
}
- bool isNative() const
- {
- return m_attributes & Native;
- }
-
bool isFinal() const
{
return (m_attributes & Final) == Final;
@@ -217,16 +206,6 @@ public:
return m_attributes & ForceShellImplementation;
}
- bool isInterfaceFunction() const
- {
- return m_attributes & InterfaceFunction;
- }
-
- bool isFinalOverload() const
- {
- return m_attributes & FinalOverload;
- }
-
bool isInvokable() const
{
return m_attributes & Invokable;