[cfe-dev] API for flag '-include'
Manuel Klimek via cfe-dev
cfe-dev at lists.llvm.org
Mon Oct 12 10:21:06 PDT 2015
If you run a libTooling tool, you usually can pass command line flags - you
can just pass -include there.
On Mon, Oct 12, 2015 at 7:01 PM xiaohui chen <xchen198812 at gmail.com> wrote:
> Hi Manuel,
>
> 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...
>
> Sincerely
> xiaohui
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151012/5d8f0f1c/attachment.html>
More information about the cfe-dev
mailing list