diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-12-29 12:01:08 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-12-29 12:01:08 +0000 |
commit | f1757659dd59a0e07e8607fca8d3f052e04d0aec (patch) | |
tree | c9367a4bda1d130675d357e4b47efbce9fd0bb03 /lib/AST/CommentLexer.cpp | |
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
Diffstat (limited to 'lib/AST/CommentLexer.cpp')
0 files changed, 0 insertions, 0 deletions