QDoc: Clean anonymous type names in matching


Anonymous type names appear in function signatures when classes
contain unnamed structs or unions. The normalization that simplifies
these names during header parsing doesn't run during function
matching. This asymmetry causes silent matching failures when the
two paths produce different representations for the same type.

Both paths produce consistent type names. The normalization also
handles the simplified anonymous name format that recent Clang
versions produce.

Task-number: QTBUG-144620
Change-Id: I95e2b8ccee004b8769a3c13dbad446d1e32b50e5
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commita1c5e8c1f5d7c2b4c2339b90337d14540d77f2ee
parente9a7754708d9146cca0828c53fe773ee8ae30a60
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeThu, 12 Mar 2026 13:08:31 +0100