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 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
