[cfe-dev] How to know if a typedef has its own RecordDecl or not?

Ying Zhengming ltyingzhengming at gmail.com
Tue Apr 3 00:26:33 PDT 2012

I have two situations like:

typedef struct {
  int foo;
} bar;


struct _bar {
  int foo;

typedef struct _bar bar;

   1. How can I differ from these two situations?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120403/1caf59d8/attachment.html>

More information about the cfe-dev mailing list