aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-12-14 09:58:52 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-12-16 15:38:05 +0100
commit565ce8c4f32822034ffe9ff25d4093c7401d2e6a (patch)
treed8eb4c906d439ecfba39b8dcc0cdd27e3c1a3d7b /sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp
parent3efe0b3e66450aa98fd8600bc0ac356bcbe5ad54 (diff)
shiboken6: Add internal flags to AbstractMetaFunction
Add some internal flags useful mainly for documentation indicating: - whether AbstractMetaBuilder removed operator arguments, which is useful for the documentation. - the function was inherited from a (container) template - the function was declared a hidden friend Task-number: PYSIDE-1106 Change-Id: Id31b1448a084f45ab7b3191b28c952d0226816e7 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp b/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp
index 427ccc537..b29fee34d 100644
--- a/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp
+++ b/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp
@@ -1068,6 +1068,7 @@ BaseVisitor::StartTokenResult Builder::startToken(const CXCursor &cursor)
}
}
d->m_currentFunction = d->createFunction(cursor, CodeModel::Normal, false);
+ d->m_currentFunction->setHiddenFriend(d->m_withinFriendDecl);
d->m_scopeStack.at(scope)->addFunction(d->m_currentFunction);
}
break;