commit | f1757659dd59a0e07e8607fca8d3f052e04d0aec | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Sat Dec 29 12:01:08 2012 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Sat Dec 29 12:01:08 2012 +0000 |
tree | c9367a4bda1d130675d357e4b47efbce9fd0bb03 | |
parent | 2464e96f0a73cd9757a6fdec4faf10d751d267fa [diff] |
Try to re-structure the GCCVersion comparison routine to make it easier to read and tell that it is a SWO -- we now descend through the components and return a result at the first inequal component. Also comment it a bit better and make it a total ordering by sorting on the text of the suffix if necessary. None of this should really be a visible change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171219 91177308-0d34-0410-b5e6-96231b3b80d8