<div dir="ltr"><div>Hello!</div><div> </div><div>I got lost on documentation about FunctionDecl.</div><div> </div><div>If I have </div><div> </div><div>struct myStruct</div><div>{</div><div> int param; <--- this is stored in a FieldDecl object</div>
<div>};</div><div>Question1?</div><div>in which Decl Object this structure is stored?</div><div> </div><div>Now when I have </div><div> </div><div>int foo(myStruct X) <--- this is stored in FunctionDecl</div><div> </div>
<div> </div><div>My problem is that I want to validate the FieldDecl object on a function signature, so I want to iterate over this FieldDecl objects if possible when reading a FunctionDecl class. Any ideas or examples how this FieldDecl can be accessed from a FunctionDecl object.</div>
<div> </div><div>Alejandro</div></div>