[PATCH] D40234: [AutoComplete] Use stronger sort predicate for autocomplete candidates to remove non-deterministic ordering
Mandeep Singh Grang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 20 00:10:35 PST 2017
mgrang added a comment.
In https://reviews.llvm.org/D40234#929943, @ruiu wrote:
> Perhaps, this is a bit more straightforward.
>
> if (int X = A.compare_lower(B))
> return X < 0;
> return A.compare(B) < 0;
Thanks. Done.
https://reviews.llvm.org/D40234
More information about the cfe-commits
mailing list