shiboken2/clang: Record scope resolution of arguments/function return
authorFriedemann Kleint <Friedemann.Kleint@qt.io>
Thu, 27 Apr 2023 10:44:10 +0000 (12:44 +0200)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 14 Apr 2024 20:48:11 +0000 (23:48 +0300)
commit428f0d78eee30e1fe67860dfc6a8d0af60237b28
treee76e1f0244d1763ec418f5faddd409028a7eed8e
parent47aa253314110c8944858ee8b22a16d25b7a5362
shiboken2/clang: Record scope resolution of arguments/function return

Add a flag indicating whether a type was specified with a leading "::"
(scope resolution). Such parameters previously caused the function to
rejected due to the "::TypeName" not being found. The type resolution
added for clang 16 strips these qualifiers though, so, the information
needs to be stored.

Task-number: PYSIDE-2288
Pick-to: 6.5 5.15
Change-Id: I27d27c94ec43bcc4cb3b79e6e9ce6706c749a1e9
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 075d8ad4660f05e6d2583ff1c05e9987ad624bfe)

Gbp-Pq: Name shiboken2-clang-Record-scope-resolution-of-arguments-func.patch
sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp
sources/shiboken2/ApiExtractor/clangparser/clangutils.cpp
sources/shiboken2/ApiExtractor/clangparser/clangutils.h
sources/shiboken2/ApiExtractor/parser/codemodel.cpp
sources/shiboken2/ApiExtractor/parser/codemodel.h