[llvm-branch-commits] [clang-doc] Add tests for Markdown output with C++ templates (PR #119813)

Petr Hosek via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Dec 12 23:14:03 PST 2024


================
@@ -75,3 +89,8 @@ void function<bool, 0>(bool x) {}
 // YAML-NEXT:           - Contents:        '0'
 // YAML-NEXT: ...
 
+// MD: ### function
+// MD: *void function(_Bool x)*
+// MD: *Defined at {{.*}}templates.cpp#[[# @LINE - 27]]*
+
+
----------------
petrhosek wrote:

Nit: These extra empty lines shouldn't be needed.
```suggestion
```

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


More information about the llvm-branch-commits mailing list