[PATCH] D40234: [AutoComplete] Stable sort autocomplete candidates to remove non-deterministic ordering
Rui Ueyama via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 19 22:03:21 PST 2017
ruiu added a comment.
Maybe we should do case-insensitive string comparison first, and if two strings are considered the same, try again in case-sensitive manner? Otherwise, even though the output is now deterministic, the output order is still dependent on the order of input strings.
https://reviews.llvm.org/D40234
More information about the cfe-commits
mailing list