Template parameters were handled outside addType, this led to lack of highlightings for typedefs
to template types.
This was never desirable, we want to highlight our typedefs as their underlying type.
Note that typedefs to more complicated types, like pointers and references are still not highlighted.
The comment is a bit complicated, would it be fair to say this is trying to
find the type that should be used to highlight a typedef?