<div dir="auto"><div>FWIW, agreement on the rough plan to split clang driver from the rest of clang was certainly how I remember the previous thread ending, and it still seems like a reasonable idea to me.<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 26, 2020, 12:04 PM Andrzej Warzynski 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"><br>
<br>
On 25/11/2020 21:39, David Blaikie wrote:<br>
<br>
> <br>
> It sounded like Richard was saying in the other thread, that if flang<br>
> was going to share the integrated preprocessor - then the amount of<br>
> code shared would be quite large and maybe flang depending on clang<br>
> would be the right solution to that, if that's the direction we're<br>
> going in.<br>
<br>
Our goal has always been _just the driver_.<br>
<br>
In the follow-up RFC [1], we refined our plan and tried to emphasise <br>
that our plan is to:<br>
  "Make libclangDriver independent of Clang".<br>
Richard's reply to that RFC [2]: "(...) this seems like a good direction <br>
to me". Hopefully Richard (CC'ed) can confirm that we didn't <br>
misinterpret that :)<br>
<br>
I don't think that Flang should depend on Clang. Also, that's something <br>
that was explicitly requested in one of our early patches for the new <br>
Flang driver [4]. And indeed, we committed ourselves to removing this <br>
dependency on flang-dev [5]. As for cfe-dev, in both [1] and [3] we <br>
proposed to move any shared code (in particular, libClangDriver) out of <br>
Clang. So again, no dependency on Clang.<br>
<br>
AFAIK, there are no plans to share the preprocessor and hence no <br>
discussion in that direction is happening. Obviously I can't speak for <br>
everyone on flang-dev, so I CC'ed that mailing list for better visibility.<br>
<br>
<br>
Thank you for your feedback!<br>
<br>
-Andrzej<br>
<br>
<br>
[1] <a href="http://lists.llvm.org/pipermail/cfe-dev/2020-July/066393.html" rel="noreferrer noreferrer" target="_blank">http://lists.llvm.org/pipermail/cfe-dev/2020-July/066393.html</a><br>
[2] <a href="http://lists.llvm.org/pipermail/cfe-dev/2020-August/066488.html" rel="noreferrer noreferrer" target="_blank">http://lists.llvm.org/pipermail/cfe-dev/2020-August/066488.html</a><br>
[3] <a href="http://lists.llvm.org/pipermail/llvm-dev/2020-June/141994.html" rel="noreferrer noreferrer" target="_blank">http://lists.llvm.org/pipermail/llvm-dev/2020-June/141994.html</a><br>
[4] <a href="https://reviews.llvm.org/D79092" rel="noreferrer noreferrer" target="_blank">https://reviews.llvm.org/D79092</a><br>
[5] <a href="http://lists.llvm.org/pipermail/flang-dev/2020-July/000470.html" rel="noreferrer noreferrer" target="_blank">http://lists.llvm.org/pipermail/flang-dev/2020-July/000470.html</a><br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank" rel="noreferrer">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div></div></div>