<div dir="ltr"><div>Hello,</div><div><br></div><div>I am writing an AST consumer to modify fields of the structs in a C program and let clang to generate code accordingly. I was modifying structs in HandleTagDeclDefinition(TagDecl *D) but I realized that if a struct defined using typedef like below, HandleTagDeclDefinition is not called after it's definition is completed. Is there any way to solve this problem? Thank you.</div><div><br></div><div>typedef struct</div><div>{</div><div>    int a;</div><div>} Integer;</div><div><br></div><div>best,</div><div>Anil</div></div>