mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-01 22:11:24 +00:00
Move the comparison function into the only place there it is used, i.e. the call to std::stable_sort in CoverageMappingWriter::write(). Add sorting by region kinds as it is required to ensure stable order in our tests and to simplify D23987. Differential Revision: https://reviews.llvm.org/D24034 llvm-svn: 280198