<div dir="auto">Hi James,<div dir="auto"><br></div><div dir="auto">You could look here for an example:</div><div dir="auto"><br></div><div dir="auto"><a href="https://github.com/zig-lang/zig/blob/master/src/translate_c.cpp">https://github.com/zig-lang/zig/blob/master/src/translate_c.cpp</a><br></div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Andrew</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, May 14, 2018, 6:18 PM James Courtier-Dutton via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I wish to make a program that parses C header files and lists all the<br>
declarations.<br>
Can anyone help point me in the right direction. Where in the LLVM or<br>
CLANG source code could maybe help me?<br>
<br>
Kind Regards<br>
<br>
James<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" rel="noreferrer">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>