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>
Thu, 8 Feb 2024 08:13:11 +0000 (11:13 +0300)
commitc0aafb26aea9aa7e53ab368c0a06e9065335f1d2
tree7dab907a40aef5f5de32c32c2fecf02cc0543ee0
parentfccad911443a05964ec0b12952f301e919041c9c
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