Descriptiongn format: Have format sort sources
Sorts sources blocks as part of gn format. This ended up being more
complicated than I expected because of the subtlety of header comments,
and because no other formatting reorders expressions at the moment.
But, there seems to be quite a lot of unsorted lists per below, so I
guess it's a good thing to have.
Application to tree at https://codereview.chromium.org/960413003.
R=brettw@chromium.org
BUG=348474, 456014
Committed: https://crrev.com/5786a631ae64e933a24a62bf7a2d579fd4a36834
Cr-Commit-Position: refs/heads/master@{#318580}
Patch Set 1 #Patch Set 2 : accessors in list #Patch Set 3 : more complicated separator handling #Patch Set 4 : more better headers #Patch Set 5 : . #Patch Set 6 : . #
Total comments: 14
Patch Set 7 : better #Patch Set 8 : unsigned numbers in test #
Messages
Total messages: 11 (3 generated)
|