Fix a typo that caused a few standard library implementations of sort to
get the wrong answer. Wasn't caught by my implementation sadly...
llvm-svn: 171222
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp
index 426bcf1..345f3d6 100644
--- a/clang/lib/Driver/ToolChains.cpp
+++ b/clang/lib/Driver/ToolChains.cpp
@@ -986,7 +986,7 @@
if (RHS.PatchSuffix.empty())
return true;
if (PatchSuffix.empty())
- return true;
+ return false;
// Provide a lexicographic sort to make this a total ordering.
return PatchSuffix < RHS.PatchSuffix;