Clangd normally skips inline and anon namespaces while printing nested name
specifiers. It also drops any tag specifiers since we make use of HoverInfo::Kind
instead of some text in HoverInfo::Name
There was a bug causing us to print innermost inline/anon namespace, this patch
fixes that by skipping those.
Also changes printing and kind detection of deduced types to be similar to decl
case.
Not related to this patch, but what is D here? Is this getting hover contents for a type or for a decl?