<p dir="ltr">You hand the refactoring tool pointer to the Frontend action factory, which then hands it to the Frontend action. </p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 26, 2015, 6:29 PM Daniel Dilts via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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.</div><div><br></div><div>How does one get the replacements list from RefactoringTool::getReplacements() into their FrontendAction?</div></div>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>