Fix my silly sorting predicate. I hate integer-to-bool conversions
llvm-svn: 113656
This commit is contained in:
@@ -809,7 +809,7 @@ namespace {
|
||||
return false;
|
||||
|
||||
result = llvm::StringRef(XText).compare(YText);
|
||||
return result;
|
||||
return result < 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user