Build speed incentive to cleaning up `export *`?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Build speed incentive to cleaning up `export *`?

Oleg Smolsky via cfe-dev
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

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev