[cfe-dev] CXCursor_NamespaceAlias - How to get cursor for aliased namespace?

Milian Wolff mail at milianw.de
Mon Jan 6 07:05:36 PST 2014


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
-- 
Milian Wolff
mail at milianw.de
http://milianw.de



More information about the cfe-dev mailing list