CXCursor_NamespaceAlias - How to get cursor for aliased namespace?

Hey all!

When encountering a CXCursor_NamespaceAlias - how can I get the aliased
namespace? I.e.:

namespace n1 {};

// how do I figure out that n2 aliases n1?
namespace n2 = n1;

I'm looking for something similar to clang_getTypedefDeclUnderlyingType.

Bye

I have now found a way via clang_visitChildren on the NamespaceAlias cursor.

Still, I think a higher-level API similar to
clang_getTypedefDeclUnderlyingType would be nice to have here! Or am I missing
something which provides this?

Bye