[cfe-dev] API for flag '-include'

xiaohui chen via cfe-dev cfe-dev at lists.llvm.org
Thu Oct 8 13:30:21 PDT 2015


Hi,

I am writing a libtooling tool.

In the command line we can use '-include' to Include file before parsing.
My questions is what is the corresponding API
to do this?

I tried  Opts.Includes.push_back , but it seems not working
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151008/f121a40a/attachment.html>


More information about the cfe-dev mailing list