<div dir="ltr">On Tue, Mar 12, 2013 at 11:26 AM, <span dir="ltr"><<a href="mailto:bruce.r.stephens@gmail.com" target="_blank">bruce.r.stephens@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sean Silva <<a href="mailto:silvas-olO2ZdjDehc3uPMLIKxrzw@public.gmane.org">silvas-olO2ZdjDehc3uPMLIKxrzw@public.gmane.org</a>> writes:<br>
<br>
[...]<br>
<br>
> We seem to have a proliferation of Clang-based source navigators (DXR,<br>
> woboq, and now SourceWeb). It would be really great if you could get<br>
> in contact with the authors of these other tools (I see Oliver Goffart<br>
> is already in this thread) and discuss what kinds of issues you ran<br>
> into when developing the respective tools (you probably want to<br>
> contact jcranmer for DXR); if there appear to be some common issues,<br>
> it would make sense to get that information upstream so that we can<br>
> fix/improve the situation. It would probably be sufficient to send a<br>
> mail to cfe-dev CC'ing them.<br>
<br>
Agreed. I'm not sure that there will in fact be much overlap, but if<br>
there is, it would be good to move it upstream. (I'm basing that on<br>
playing with DXR's plugin, which seems fairly lightweight, as these<br>
things go.)<br>
<br>
One possibility (which doesn't apply to DXR, which is a compiler plugin)<br>
is producing a compilation database. Using LD_PRELOAD and stuff feels<br>
yucky, and cmake is (to me) useless (the projects I care about mostly<br>
don't use cmake).<br></blockquote><div><br></div><div style>Can you use ninja, which has recently grown the capability to throw out a compilation database? </div><div style><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Can clang dump the relevant information in the right form? Feels like it<br>
ought to be easy for it to do so, and that would surely be a clean way<br>
to do it, presuming a project can be made to build with clang/clang++?<br>
(Maybe it could be folded somehow with scan-build?)<br></blockquote><div><br></div><div style>Yes, it could be implemented in clang, but it's harder than doing it from a build-aware tool, as you'll need some cross-process synchronization, optimally in a OS-independent way...</div>
<div style><br></div><div style>Cheers,</div><div style>/Manuel</div><div style> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> Also, if there is enough common ground between your objectives, it<br>
> would be really cool if we could pool effort and develop a solution on<br>
> trunk in clang-tools-extra: and then dogfood it! I've been wanting a<br>
> better source navigator than Doxygen's source listings for a while<br>
> now, and I think it would be appreciated.<br>
<br>
It would be neat to have that available alongside the doxygen API docs.<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div></div>