diff options
author | Martin Storsjö <martin@martin.st> | 2021-05-20 23:45:21 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-05-28 11:44:20 +0300 |
commit | f59cd8a4a606643e7248cecc239e0d229feb3320 (patch) | |
tree | 8c6e9e58e0e6caab220a82543691a077ec50a366 /llvm/lib/Transforms/Utils/CloneFunction.cpp | |
parent | f2264ebb087272d49e2216476a62f3208ba5a1ea (diff) | |
download | llvm-f59cd8a4a606643e7248cecc239e0d229feb3320.zip llvm-f59cd8a4a606643e7248cecc239e0d229feb3320.tar.gz llvm-f59cd8a4a606643e7248cecc239e0d229feb3320.tar.bz2 |
[clang] [MinGW] Fix gcc version detection/picking
Actually compare each version to the version of the last chosen one.
There's no guarantee that the added test case does showcase the
previous issue (it depends on the order that directory entries
are returned when iterating), but with the issue fixed it should behave
deterministically in any case.
Also improve the match patterns in the mingw-sysroot.cpp test a bit.
Differential Revision: https://reviews.llvm.org/D102873
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions