<div dir="ltr"><span style="font-size:12.8px">I've updated clang from revision 254425 to 286122, and RefactoringTool::</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">getReplacements() now produces a map of files to replacements. </span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">My original code implements a MatchFinder::MatchCallback which takes a pointer to the return value of RefactoringTool::</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">getReplacements() and simply inserts Replacements, now it is not clear how I am to perform the insertion, I cannot tell now if there is some canonical way to determine the filename string to save a particular Replacement under. </span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">I have also found the function formatAndApplyAllReplacements which I'm having trouble finding doc/instructions for and seems to be a highest-level function that I should use, but it doesnt seem to help address this problem. </span><br style="font-size:12.8px"><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I wonder if someone could do a quick rundown of how to use the interface in a proper way. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks</div></div>