<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I have not tried that tool (yet) so this is speculative.<br>
<br>
But from the docs it appears to me that Google's
include-what-you-use could help.<br>
See the output described here:
<a class="moz-txt-link-freetext" href="http://sylvestre.ledru.info/blog/2013/09/08/include-what-you-use-yet">http://sylvestre.ledru.info/blog/2013/09/08/include-what-you-use-yet</a><br>
<br>
You could do a temporary run. Not to "fix" your includes, but just
to get a list of all the<br>
#include + reference statements printed.<br>
<br>
Cheers,<br>
Jonas<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 14.01.2014 00:10, Sean Silva wrote:<br>
</div>
<blockquote
cite="mid:CAHnXoake2mxahXjz3v5YM=-yJHW+sz-FSsM30w5x=VuwVyO38Q@mail.gmail.com"
type="cite">
<div dir="ltr">As a first approximation, you can scan #includes in
the project or look for `llvm::[a-zA-Z0-9_]+`. If you need
something precise, you could try using Clang's ASTMatcher's to
query for all referenced declarations in namespace `::llvm`.
<div>
<br>
</div>
<div>-- Sean Silva<br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Jan 13, 2014 at 5:39 PM,
Gai, Jiading <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:jgai@illinois.edu"
target="_blank">jgai@illinois.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Assume there's an open source compiler
implementation based on LLVM/Clang. What is the neatest
way to print a list of LLVM APIs used in that open
source project? Thanks.<br>
<br>
Best,<br>
Jiading<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a moz-do-not-send="true"
href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>
<a moz-do-not-send="true"
href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a moz-do-not-send="true"
href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev"
target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</body>
</html>