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)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 14 Apr 2024 20:48:11 +0000 (23:48 +0300)
commit103359c0c6b8ff0d82ce27f79727820233c4b7c4
tree62d0c3678d9f6554c8a68fc8d989e0c8939cb7dd
parentc349324cbd08384dbb64feb31e368f0b1c9ff488
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