File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 66// RUN: clang-doc --format=html --output=%t --executor=standalone %s
77// RUN: FileCheck %s < %t/GlobalNamespace/MyStruct.html --check-prefix=CHECK-HTML
88
9+ // RUN: clang-doc --format=mustache --output=%t --executor=standalone %s
10+ // RUN: FileCheck %s < %t/html/GlobalNamespace/_ZTV8MyStruct.html --check-prefix=CHECK-MUSTACHE
11+
912template <typename T>
1013struct MyStruct {
1114 operator T ();
@@ -16,3 +19,7 @@ struct MyStruct {
1619
1720// CHECK-HTML: <h3 id="{{[0-9A-F]*}}">operator T</h3>
1821// CHECK-HTML: <p>public T operator T()</p>
22+
23+ // CHECK-MUSTACHE: <div id="{{([0-9A-F]{40})}}">
24+ // CHECK-MUSTACHE: <pre><code class="language-cpp code-clang-doc">T operator T ()</code></pre>
25+ // CHECK-MUSTACHE: </div>
You can’t perform that action at this time.
0 commit comments