[cfe-dev] get typedef struct name
huc1985
huc1985 at 163.com
Mon Apr 22 19:19:48 PDT 2013
Hi all!
I'm using RecursiveASTVisitor VisitRecordDecl() method to get all struct
name (include typedef name).
e.g.
typedef struct XXX
{
...
}ZZZ;
I want get struct name XXX and ZZZ. I just can get name XXX.
RecordDecl::getTypedefNameForAnonDecl() get a empty point.
So how to get the typedef name?
Thanks all!
--
View this message in context: http://clang-developers.42468.n3.nabble.com/get-typedef-struct-name-tp4031640.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev
mailing list