[PATCH] D40234: [AutoComplete] Stable sort autocomplete candidates to remove non-deterministic ordering

Mandeep Singh Grang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 19 21:13:41 PST 2017


mgrang added a comment.

This is the order of options observed when the candidates are randomly shuffled:

  Run 1:
  cl
  CL
  cl1.1
  CL1.1
  cl1.2
  CL1.2
  cl2.0
  CL2.0

  Run 2:
  CL
  cl
  cl1.1
  CL1.1
  cl1.2
  CL1.2
  CL2.0
  cl2.0


https://reviews.llvm.org/D40234





More information about the cfe-commits mailing list