[cfe-dev] API function to get file dependencies of compilation

William Moses via cfe-dev cfe-dev at lists.llvm.org
Tue Jan 28 12:27:20 PST 2020


Hi all,

Is there a relatively easy way to get the dependencies (files) for a call
to clang from its internals.

I know I can probably rewrite the rags and add -MD, then parse and remove
the temporary output but I figure there might be an internal function which
would be much easier.

Cheers,
Billy Moses
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200128/ab8d25bd/attachment.html>


More information about the cfe-dev mailing list