[LLVMdev] How to print a list of used LLVM APIs in a given open source project?
chisophugis at gmail.com
Mon Jan 13 15:10:13 PST 2014
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
-- Sean Silva
On Mon, Jan 13, 2014 at 5:39 PM, Gai, Jiading <jgai at illinois.edu> wrote:
> 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.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev