Now that auto type is fixed by D11976, it also makes sense to support it in clang_getTypeDeclaration.
Adding tests wouldn't hurt though, quite the contrary. Especially if it wasn't tested before. Otherwise, this looks good to me.
+1 to "not tested before" not implying "doesn't need tests" :)
lgtm, but someone else should approve