<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello, <div><br></div><div>As you can see I want to implement an AST visitor to extract some specific nodes from the AST. <div>Unfortunately my code traverses also the included header files which is something that I dont want because it prints me everything about them which is not what I want.</div><div>For example I want to extract every function declaration or variable declaration and their correspondig types. </div><div><br></div><div>I have found this solution in stackoverflow but I cannot make it work. </div><div><a href="http://stackoverflow.com/questions/10454075/avoid-traversing-included-system-libaries" target="_blank">http://stackoverflow.com/questions/10454075/avoid-traversing-included-system-libaries</a></div><div>My code is based on this tutorial:</div><div><a href="https://kevinaboos.wordpress.com/2013/07/23/clang-tutorial-part-i-introduction/" target="_blank">https://kevinaboos.wordpress.com/2013/07/23/clang-tutorial-part-i-introduction/</a></div><div><br></div><div>Please also find attached my code.</div><div><br></div><div>Thank you for your help.</div><div>Andreas Georgiou</div><div><br></div></div>                                           </div></body>
</html>