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>
Tue, 25 Jun 2024 20:47:03 +0000 (23:47 +0300)
commite189a9eee3e87fe414f0fb3ea562af33f82fd3f2
tree8759a0833345d05cc845957a7e7043435df5a8e8
parent86681fa8ed306c04614be369b1e23f758e364914
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