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