<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:#000000">You brought up an interesting case here. Although we are concerned about such case, it is not our intent to actually implement a cache/index service to be able to get the parsed files in this project. I think this could be an opportunity for a service to grow here that can be used not just by refactoring but also other things. </div>


</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><br></div><div><br></div><div><span style="font-size:small;font-family:sans-serif;line-height:19.5px;border-width:2px 0px 0px;border-style:solid;border-color:rgb(213,15,37);padding-top:2px;margin-top:2px"><font color="#ffffff" style="background-color:rgb(180,95,6)"><b>Λ</b>MIN</font><font color="#555555"> シ |</font></span><span style="font-size:small;color:rgb(85,85,85);font-family:sans-serif;line-height:19.5px;border-width:2px 0px 0px;border-style:solid;border-color:rgb(51,105,232);padding-top:2px;margin-top:2px"> Data, that's what for dinner. |</span><span style="font-size:small;color:rgb(85,85,85);font-family:sans-serif;line-height:19.5px;border-width:2px 0px 0px;border-style:solid;border-color:rgb(0,153,57);padding-top:2px;margin-top:2px"> <a href="mailto:amshali@google.com" style="color:rgb(17,85,204)" target="_blank">amshali@</a> |</span><span style="font-size:small;color:rgb(85,85,85);font-family:sans-serif;line-height:19.5px;border-width:2px 0px 0px;border-style:solid;border-color:rgb(238,178,17);padding-top:2px;margin-top:2px"> Google Inc.</span></div>

</div></div>
<br><br><div class="gmail_quote">On Sat, Jul 26, 2014 at 12:26 AM, Tobias Grosser <span dir="ltr"><<a href="mailto:tobias@grosser.es" target="_blank">tobias@grosser.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">On 25/07/2014 22:01, Amin Shali wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Folks,<br>
<br>
At Google we are working on a tool and set of APIs for refactoring C++<br>
programs based on LibTooling. Particularly, we have targeted rename<br>
refactoring for C++ as our first step.<br>
<br>
In our first iteration we want to offer two things:<br>
1- A command line tool similar to clang-format which will semantically<br>
rename a symbol (specified by a position in a file) in a set of input files.<br>
2- An API for doing the above task which can effectively be used to provide<br>
this functionality for any editor (Emacs, Vim, CodeMirror, etc.).<br>
</blockquote>
<br></div>
Hi Amin,<br>
<br>
this is interesting.<br>
<br>
Do you plan to keep parsed files in memory/a cache/indexed? If you e.g. want to rename a couple of constructs in the LLVM code base, it seems to make a big difference if you need to wait 5-10 minutes until a rename has taken place or if it is almost instant, especially for editor integration.<br>


<br>
I am asking this as performing actions/analysis across multiple translation units is a recurring problem and it would be interesting to see if/how your work would (maybe not today?) integrate with such kind of service.<br>


<br>
Cheers,<br>
Tobias<br>
<br>
</blockquote></div><br></div>