<div dir="ltr">Hi,<div><br></div><div>If I dump() a clang::Type object, I can see this AST representation - </div><div><br></div><div><font face="monospace">ConstantArrayType 0x555562830ea0 'const char **const [0]' 0 <br>`-QualType 0x555562830c81 'const char **const' const<br>  `-PointerType 0x555562830c80 'const char **'<br>    `-PointerType 0x5555627ed2a0 'const char *'<br>      `-QualType 0x5555627ec7d1 'const char' const<br>        `-BuiltinType 0x5555627ec7d0 'char'</font></div><div><br></div><div><div>Is there a way to use the ASTContext to iterate over each node? (Do each of those lines represent a node?)</div><div><br></div><div>My motivation is to get the inner most PointerType object.</div><div><br></div><div>Regards,</div><div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Pratyush Das<br></div></div></div></div></div></div></div></div>