[clang-tools-extra] [clang-doc] Add a Mustache Markdown generator (PR #177221)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 2 11:55:11 PST 2026


================
@@ -77,18 +102,28 @@ class AnonClass {};
 // HTML-ANON-INDEX-NOT: <h2 id="Functions">Functions</h2>
 // HTML-ANON-INDEX-NOT: <h3 id="{{([0-9A-F]{40})}}">anonFunction</h3>
 // HTML-ANON-INDEX-NOT: <p>void anonFunction()</p>
+// MD-MUSTACHE-ANON-INDEX: # namespace @nonymous_namespace
+// MD-MUSTACHE-ANON-INDEX:  Anonymous Namespace
+// MD-MUSTACHE-ANON-INDEX: ## Records
+// MD-MUSTACHE-ANON-INDEX: * [AnonClass](AnonClass.md)
+// MD-MUSTACHE-ANON-INDEX: ## Functions
+// MD-MUSTACHE-ANON-INDEX: ### anonFunction
+// MD-MUSTACHE-ANON-INDEX: *void anonFunction()*
+
----------------
ilovepi wrote:

```suggestion
```
extra newline

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


More information about the cfe-commits mailing list