[cfe-dev] Build speed incentive to cleaning up `export *`?

Andrew Gallagher via cfe-dev cfe-dev at lists.llvm.org
Sun Dec 2 19:03:27 PST 2018


As part of modularizing an existing codebase, we're using `export *` in
module map module declarations, as sources currently heavily underspecify
their first-order `#include`s and so rely on transitive inclusion to build
successfully.  Aside from code cleanliness, does anyone know if there are
any other incentives to removing uses of `export *` and making sure all
sources properly `#include` their first order dependencies?  (e.g. would
this translate to a build speed improvement, as fewer unneeded modules are
pulled into scope).

Thanks!
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20181202/f6343074/attachment.html>


More information about the cfe-dev mailing list