shiboken2/clang: Fix build with clang 16
authorFriedemann Kleint <Friedemann.Kleint@qt.io>
Tue, 25 Apr 2023 12:01:45 +0000 (14:01 +0200)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 8 Feb 2024 08:13:11 +0000 (11:13 +0300)
commitaa6481338eafe90fadbbde35b9f29754b1fbcce8
tree19497f91b3bd583ca33901a20badbba5baa735b3
parent09e2f266fe820a2b992dcc352c1154d7c4262b53
shiboken2/clang: Fix build with clang 16

clang 16 returns more elaborated types instead of fully qualified type
names. Qualify elaborated types when retrieving the type name.

[ChangeLog][shiboken6] Support for libclang version 16 has been added.

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

Gbp-Pq: Name shiboken2-clang-Fix-build-with-clang-16.patch
sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp
sources/shiboken2/ApiExtractor/clangparser/clangutils.cpp
sources/shiboken2/ApiExtractor/clangparser/clangutils.h
sources/shiboken2/ApiExtractor/tests/testtemplates.cpp