The patch features a new mode for modularize in which it generates a module map file as a starting point for a real module.map file, based on the header list input to modularize.
Please see the file comments for details.
Differential D1891
Modularize assistant mode jtsoftware on Oct 10 2013, 11:57 AM. Authored by
Details
The patch features a new mode for modularize in which it generates a module map file as a starting point for a real module.map file, based on the header list input to modularize. Please see the file comments for details.
Diff Detail Event TimelineComment Actions Do you think that this may benefit in the future from being interactive?
Comment Actions Thanks! I'll post an updated revision.
Comment Actions This update addresses the comments on the previous revision, except for revising the ensureNoCollisionWithReservedName argument, which I couldn't understand. Also, I eliminated the ModuleAssistant.h file, merging it with Modularize.h, since it only declared one function. Comment Actions LGTM with a couple tiny changes. Doug, could you take a look at this? Btw, does this need user-facing documentation yet? (that can be a separate commit if so)
Comment Actions Thank you! Revised anonymous namespace as suggested, and removed unnecessary comment. The user docs will follow. |
http://llvm.org/docs/CodingStandards.html#include-style (the most "local" headers go first).