[cfe-dev] VS2017: LLVM Compiler Toolchain Plugin

Hans Wennborg via cfe-dev cfe-dev at lists.llvm.org
Mon Oct 1 05:51:46 PDT 2018


On Sat, Sep 29, 2018 at 8:06 PM, Stephen Kelly via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> On 29/09/18 15:54, Zachary Turner via cfe-dev wrote:
>>
>> To be clear, there’s no disagreement that when using MSBuild you should
>> have exactly the same experience with clang-cl and cl. And by exact same
>> experience, that means if anything is going on behind the scenes to make
>> sure the filename is printed, it should be invisible to the user.
>
>
> Hmm, I don't know what MSBuild has to do with it. Why shouldn't the
> experience be the same with Ninja, or another buildsystem, or just when
> running both from the command line? Maybe this is where I'm missing
> something.

It's not a goal of clang-cl to emulate MSVC perfectly. It's just
aiming to be compatible so that's it's easy for users to switch
between them. The goal is to be better than MSVC :-)

I think the behaviour of not echoing the filename is better and should
be the default, but I can see that it's useful when using a build
system that doesn't provide any separate indication of progress, so
let's add a /showFilenames flag as discussed on
https://bugs.llvm.org/show_bug.cgi?id=31957

I will try to get a patch out unless someone beats me to it.

Thanks,
Hans



More information about the cfe-dev mailing list