Fix my silly sorting predicate. I hate integer-to-bool conversions

llvm-svn: 113656
This commit is contained in:
Douglas Gregor
2010-09-10 23:05:54 +00:00
parent 39bbba498c
commit c7a7d92ad2

View File

@@ -809,7 +809,7 @@ namespace {
return false;
result = llvm::StringRef(XText).compare(YText);
return result;
return result < 0;
}
};
}