<div dir="ltr"><div class="" itemprop="description">
<p>Hi<br>I have seen the examples in clang/tools/, and even built a few simple tools myself.<br>
But all of them work on source files.<br>
For example, I am not sure if I can use clang-check on a header file. </p>
<p>How do I write a clang tool that will allow me to read a header file
and ..say.. print the names of all the top level declarations?<br>
This is easy for a source file but I can not figure out how to handle headers.<br><br></p><p>Manasij Mukherjee<br></p>
</div></div>