shiboken2/clang: Fix clashes between type name and enumeration values
authorFriedemann Kleint <Friedemann.Kleint@qt.io>
Tue, 25 Apr 2023 13:30:30 +0000 (15:30 +0200)
committerGraham Inggs <ginggs@debian.org>
Sat, 25 Jan 2025 16:33:38 +0000 (16:33 +0000)
commitf1185ce80454aca80426ed77d99dca14f6941e7c
treedcaa3885eb772c7c0d98f0c561ff63bd56785fe5
parent4d9eff379eef5dd0dbcf8890923b7180a1090ff1
shiboken2/clang: Fix clashes between type name and enumeration values

Remove all constant and enum value type entries found in the type lookup
unless it is looking for template arguments; where it may be a
non-type template argument.

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

Gbp-Pq: Name shiboken2-clang-Fix-clashes-between-type-name-and-enumera.patch
sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp
sources/shiboken2/ApiExtractor/abstractmetabuilder.h
sources/shiboken2/ApiExtractor/typesystem_typedefs.h