[clang] [Clang] Use stable_sort in VerifyDiagnosticsConsumer. (PR #187827)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 21 03:10:45 PDT 2026
https://github.com/Endilll commented:
On a second thought, while `stable_sort` helps, we should try to address the root cause: there cannot be more than one directive on a given offset of the source file. Or maybe I'm missing something, like contents of comments not being addressable by SourceLocation — that would explain why this happens.
https://github.com/llvm/llvm-project/pull/187827
More information about the cfe-commits
mailing list