Hi,

I've taken Doug's modularize tool, a very useful tool for checking a group of 
headers for being ready for the new modules feature, and added some fixes for 
building on Windows and Linux, and an enhancement to print the source file name 
for the "not always provided" messages.

I'd like to check this in to the clang-tool-extra repository.  I plan to do 
some more work here, but I thought it would be good to start tracking this 
tool.  Doug suggested I post here to give you a chance to look at it.

If you have interest in this, please do review the enclosed patch and post your 
feedback and a thumbs-up for checking it in.  The patch is relative to the 
tools/clang/tools/extra directory, where the clang-tool-extra tree is normally 
put.

The modularize tool takes as input a file name of a file with a list of header 
files to check, and outputs error messages for things it considers problematic 
for modules.  Note that it also accepts normal front end options as well.

Note that I wasn't sure if I should add something to the extra/doc directory, 
but I will if you indicate such.

Thanks.

-John


Attachment: modularize.patch
Description: modularize.patch

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to