[cfe-dev] [libTooling] Custom vfs::FileSystem for ClangTool
klimek at google.com
Thu May 28 01:37:19 PDT 2015
On Wed, May 27, 2015 at 10:56 PM Maciej Poleski <poleski.maciej at gmail.com>
> I'm looking for some way to customize FileSystem object used by ClangTool
> (especially in ClangTool::run). This is almost nice:
> almost, because object is created by implementation without chance to
> change this behavior (provide my own implementation).
If you want to inject files, you can currently do that.
> Is there some place in which FileSystem could be replaced?
I also seen this way of "consuming AST":
> but it's quite old example, and looks "slightly" different than current
> implementation of ClangTool::run (with its use of ToolInvocation and
> Is there some general solution of this problem?
Which problem exactly?
> Best Regards
> Maciej Poleski
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev