1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

[ADT] Fix a typo in isOSVersionLT that breaks the Micro version check

The original commit of this function (r129800 in 2011) had a typo where
part of the "Micro" version check was actually comparing against the "Minor"
version number.

llvm-svn: 352776
This commit is contained in:
Bob Wilson 2019-01-31 17:58:59 +00:00
parent 7f74c780bd
commit 9873c06595

View File

@ -414,7 +414,7 @@ public:
if (LHS[1] != Minor)
return LHS[1] < Minor;
if (LHS[2] != Micro)
return LHS[1] < Micro;
return LHS[2] < Micro;
return false;
}