<div dir="ltr">Hi all, <div><br></div><div>I tried both RecordDecl  as well as TypedefNameDecl to extract names of such struct declarations, but I always get an empty string. Could you please let me know how to extract the struct name? </div><div><br></div><div>For example: </div><div><br></div><div>typedef struct {</div><div>...</div><div>} tstr;</div><div><br></div><div>I want to extract 'tstr' name for this struct typedef. </div><div><br></div><div>Thanks! </div><div>--</div><div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div>Himanshu</div></div></div>
</div></div>