[cfe-dev] Get Replacements to FrontendAction

Manuel Klimek via cfe-dev cfe-dev at lists.llvm.org
Wed Aug 26 21:19:24 PDT 2015


You hand the refactoring tool pointer to the Frontend action factory, which
then hands it to the Frontend action.

On Wed, Aug 26, 2015, 6:29 PM Daniel Dilts via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> I have a custom FrontendAction that I want to run using
> RefactoringTool::runAndSave().  runAndSave() takes a FrontendActionFactory
> and doesn't appear to have a way to pass parameters to the produced action.
>
> How does one get the replacements list from
> RefactoringTool::getReplacements() into their FrontendAction?
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150827/74ba9828/attachment.html>


More information about the cfe-dev mailing list