[PATCH] D40234: [AutoComplete] Use stronger sort predicate for autocomplete candidates to remove non-deterministic ordering

Rui Ueyama via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 19 22:25:31 PST 2017


ruiu added a comment.

Perhaps, this is a bit more straightforward.

  if (int X = A.compare_lower(B))
    return X < 0;
  return A.compare(B) < 0;


https://reviews.llvm.org/D40234





More information about the cfe-commits mailing list