[PATCH] D137059: [Driver] [Modules] Introduce -fsave-std-c++-module-file= to specify the path of the module file (2/2)

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 17 10:06:42 PST 2022


dblaikie added a comment.

@ben.boeckel

>> Plus the other compilers offer controls over it; why does Clang have to be different?
>
> Which compilers/flags are you referring to? Arguments from compatibility with GCC are relatively easy to make (though I still have more hesitance for these flags since there's not wide-scale adoption, and I think there's still room to shape the world we want to see and limit the width of the interface/variations we end up having to support long term) & might side-step some of the discussions here.

I'm still curious what about the details of other compilers - I think from the sounds of it, @iains suggested GCC doesn't support this yet so we'll need to pick/name the flag ourselves & he's happy to implement whatever we pick? I guess Microsoft's flag naming is sufficiently differently styled as to offer no useful inspiration? Though wouldn't hurt to know what they name it.

Any other examples you had in mind, Ben?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137059/new/

https://reviews.llvm.org/D137059



More information about the cfe-commits mailing list