[cfe-dev] Getting the full name of a an enum decl

chris nuernberger cnuernber at gmail.com
Wed Aug 25 12:53:57 PDT 2010


How do I, give an EnumType*, get the full name of this object,
including namespaces and structs?

namespace foo { struct bar { enum Enum { blah, }; }; }

I am looking for foo::bar::Enum.  I figured out how to get "Enum",
just not the full qualified name.

Chris

-- 
A foolish consistency is the hobgoblin of little minds - Emerson



More information about the cfe-dev mailing list