<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Sep 13, 2017 at 8:53 AM Volodymyr Sapsai <<a href="mailto:vsapsai@gmail.com">vsapsai@gmail.com</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 class="gmail_extra"><div class="gmail_quote">On Fri, Sep 8, 2017 at 11:40 AM, Manuel Klimek <span dir="ltr"><<a href="mailto:klimek@google.com" target="_blank">klimek@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><span><div dir="ltr">On Fri, Sep 8, 2017 at 8:36 PM Volodymyr Sapsai <<a href="mailto:vsapsai@gmail.com" target="_blank">vsapsai@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Currently include-what-you-use is considered to be competing with Clang tools, existing and potential.</blockquote><div><br></div></span><div>By whom? Why?</div></div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>I don't have official legal evaluation of the situation but employers tend to disapprove employees working on competing products.</div></div></div></div></blockquote><div><br></div><div>I would understand this is clang (or clang tools) was a product by a company. It is an open source project, though, so I'm not sure how that applies. That said, if anybody is in that kind of situation and thus feels like they can't contribute to IWYU, I'd be curious to learn about the specific case.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> From my limited experience restrictions can be pretty broad, prohibiting to work on products or services in the same area or competing with your employer's current or reasonably anticipated products or services. I believe it is reasonable to anticipate a tool like include-what-you-use among other Clang tools. So for anybody working on Clang as a part of their job, contributing to IWYU might be problematic.</div><div><br></div><div>What is the experience of others? Is it better to leave resolving such matters to individual contributors or to make a project easier to contribute to?</div><div><br></div><div>Thanks,</div><div>Volodymyr</div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><span style="color:rgb(80,0,80)"> </span></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div class="m_872184920070826264h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> It would be great to resolve this competition issue. One of the ways to achieve it is to make IWYU one of Clang tools. I'll be glad to learn about other options. So far I don't know any.<br><br>Thanks,<br>Volodymyr <br><div class="gmail_quote"></div><div class="gmail_quote"><div dir="ltr">On Fri, Sep 8, 2017 at 06:27 Manuel Klimek via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Sep 8, 2017 at 11:15 AM Kim Gräsman <<a href="mailto:kim.grasman@gmail.com" target="_blank">kim.grasman@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Sep 7, 2017 at 6:03 PM, Robinson, Paul via cfe-dev<br>
<<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br>
> Reimplementing the tool using the tooling available in the LLVM project<br>
> would seem more appropriate to an LLVM-project tool. J<br>
><br>
> I am not really familiar with the original IWYU tool, but one thing I<br>
> remember from James' work is that it would be fairly easy to implement<br>
> different policies.  For example, minimizing the number of #includes, versus<br>
> always directly including the header that declares everything actually used<br>
> in the source.  That kind of flexibility is great.<br>
<br>
I think exploring a new IWYU would be interesting and rewarding. It<br>
would be nice if such an initiative could build on the IWYU test suite<br>
in some form, I suspect that the easy cases are easy to get right, and<br>
that some of the complexity in the current IWYU comes from the edge<br>
cases.<br>
<br>
That said, some/much(?) of the IWYU complexity is probably incidental,<br>
and it would be nice to clean that up.<br>
<br>
I'm not sure the most productive way to do that is to start from<br>
scratch, though.</blockquote><div><br></div></div></div><div dir="ltr"><div class="gmail_quote"><div>I fully agree. My main point is: I don't think putting it into clang-tools-extra in its current form is the right approach. I don't know any better way to incrementally get it into the form it would need to get into clang-tools-extra other than through incremental patches to clang-tools-extra, given that many folks just read the mailing list for patches, and if we try to go around the usual approach (for example by doing reviews in the current location) important feedback / objections might drop in only when the full thing goes in in the end.</div><div><br></div><div>That said, I perhaps also don't find it super important for iwyu to be in clang-tools-extra - it'd most certainly be nice, and make me happy on a principled basis, but given the current state of the world, I'd rather wait a bit how things play out than try to force it.</div><div><br></div><div>Perhaps I'm missing something?</div><div><br></div><div>Cheers,</div><div>/Manuel</div><div><br></div></div></div></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<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></blockquote></div></div></div>
</blockquote></div></div></div></blockquote></div></div>