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>
Sun, 17 Nov 2024 11:20:58 +0000 (14:20 +0300)
commit8a7e39860efe4659e3c26235cc91854289813fb9
tree99576877ec390d772d97533ab43f286e271a7055
parent9b0aa657ce91ac8603a32eb8733120887881a955
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