[clang-tools-extra] [clang-doc] Migrate Namespaces to arena allocation (PR #190048)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 3 13:21:51 PDT 2026


================
@@ -510,7 +527,15 @@ ClangDocContext::ClangDocContext(tooling::ExecutionContext *ECtx,
 }
 
 void ScopeChildren::sort() {
-  llvm::sort(Namespaces);
+  std::vector<Reference *> V;
----------------
ilovepi wrote:

I'm so dumb. I hit a bug unrelated to this and misattributed it to the sorting. simple_ilist has a .sort() API. I can just use that, and drop the custom sorting for ilists here and elsewhere in the stack


https://github.com/llvm/llvm-project/pull/190048


More information about the cfe-commits mailing list