util: python implementation of a routine that will sort includes
Review Request #362 - Created Dec. 25, 2010 and submitted
| Information | |
|---|---|
| Nathan Binkert | |
| gem5 | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
util: python implementation of a routine that will sort includes I didn't realize that the perl version existed when I started this, this version has a lot more features than the previous one since it will sort and separate python, system, and m5 headers in separate groups, it will remove duplicates, it will also convert c headers to stl headers
Posted (Dec. 25, 2010, 12:10 p.m.)
One big question I have is, do people like the sorting order. This went along with what Steve had in his wish list for the perl version, but it isn't as simple as M-x sort-lines anymore. Of course, people could run this on their code. I could even plug it into the style hook.
I think we've beat this to death on the mailing list. My only comment is that before it becomes part of the commit hook, please make sure that you can't throw anything at it that will cause an exception.
Review request changed
Updated (April 13, 2011, 2:46 a.m.)
Diff: |
Revision 5 (+302 -91) |
|---|
