aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/docparser.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-02-18 13:48:25 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-02-19 07:29:31 +0000
commit74e99ea75d4394d7e2fb3b2551369dedc7bd5a7c (patch)
treeefd8fd0cdc22f53f9e32e012ad6d7ba06d3c6882 /sources/shiboken6/ApiExtractor/docparser.cpp
parenta7c7c729a388b0a4e0e104fac1130feb6e03151b (diff)
shiboken6: Remove AbstractMetaAttributes
Remove AbstractMetaAttributes as a base class of AbstractMetaFunction and AbstractMetaClass. Split the Attributes enumerations into those applying to classes and functions, respectively and add them to AbstractMetaFunction and AbstractMetaClass. Change-Id: Ie60517876af4096fd6234479ee7dc7fbcca1eda6 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/docparser.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/docparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/docparser.cpp b/sources/shiboken6/ApiExtractor/docparser.cpp
index 8e5849ff5..9445adf81 100644
--- a/sources/shiboken6/ApiExtractor/docparser.cpp
+++ b/sources/shiboken6/ApiExtractor/docparser.cpp
@@ -77,7 +77,7 @@ bool DocParser::skipForQuery(const AbstractMetaFunctionCPtr &func)
{
// Skip private functions and copies created by AbstractMetaClass::fixFunctions()
if (!func || func->isPrivate()
- || (func->attributes() & AbstractMetaAttributes::AddedMethod) != 0
+ || func->attributes().testFlag(AbstractMetaFunction::AddedMethod)
|| func->isModifiedRemoved()
|| func->declaringClass() != func->ownerClass()
|| func->isConversionOperator()) {