[PATCH] D132801: [driver] Additional ignoring of module-map related flags, if modules are disabled

Argyrios Kyrtzidis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 31 08:00:28 PDT 2022


akyrtzi added a comment.

In D132801#3760014 <https://reviews.llvm.org/D132801#3760014>, @rsmith wrote:

> This doesn't look right to me -- we still use module maps when modules are disabled to enforce layering checking, and when `-fmodules-local-submodule-visibility` is enabled but `-fmodules` is disabled we'll use them to provide modular semantics without pre-building modules. I'm going to revert.

Sorry, I wasn't aware of that. Could `-fmodule-map-file=` be pruned out when `-fmodules-local-submodule-visibility` or `-fmodules-decluse` are not enabled?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132801



More information about the cfe-commits mailing list